question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bulk moving inventory items doesn't always work consistently

See original GitHub issue

DIM Version

6.97.1.1001102 (beta)

Browser Details

Chrome 96.0.4664.110

OS Details

openSUSE Leap 15.3

Describe the bug

I’ve got the following query:

is:movable -is:armor -is:weapon -is:ships -is:vehicle -is:ghost -name:"mod components" -name:"sweaty confetti"

Until recently, I could select the three-dot menu at the end of the search bar and select “move to vault”, and the items would move without any issue. Recently, though, this stopped working consistently - if I move items from the vault into the character inventory and then use this query, they move OK. If I just have been playing the game and they are collected during gameplay, one item moves at a time for each attempt to move the selected items.

Logs

[loadout] Apply loadout Filtered Items to Vault
instrument.ts:130 [move] Move 1 Pure Matterglass Lens Consumables to Vault from Exo Warlock
instrument.ts:130 [loadout] Failed to apply loadout item Pure Matterglass Lens TypeError: Cannot set properties of undefined (setting 'state')
    at loadout-apply.ts:363
    at immerClass.ts:78
    at e.produce (immerClass.ts:94)
    at immerClass.ts:78
    at loadout-apply-state.ts:142
    at loadout-apply.ts:361
(anonymous) @ instrument.ts:130
s @ log.ts:33
(anonymous) @ loadout-apply.ts:378
await in (anonymous) (async)
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:107
(anonymous) @ action-queue.ts:13
Promise.then (async)
o @ action-queue.ts:12
(anonymous) @ loadout-apply.ts:106
(anonymous) @ index.js:16
(anonymous) @ ItemActionsDropdown.tsx:85
onSelected @ ItemActionsDropdown.tsx:99
(anonymous) @ downshift.esm.js:118
(anonymous) @ downshift.esm.js:116
Be @ react-dom.production.min.js:52
qe @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Tr @ react-dom.production.min.js:100
Pr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
je @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Mr @ react-dom.production.min.js:105
Qt @ react-dom.production.min.js:75
Xt @ react-dom.production.min.js:74
(anonymous) @ scheduler.production.min.js:18
$o @ react-dom.production.min.js:122
Re @ react-dom.production.min.js:292
Gt @ react-dom.production.min.js:73
r @ helpers.ts:88
instrument.ts:130 [loadout] failed loadout {phase: 2, equipNotPossible: false, itemStates: {…}, socketOverrideStates: {…}, modStates: Array(0)} TypeError: Cannot set properties of undefined (setting 'state')
    at loadout-apply.ts:383
    at immerClass.ts:78
    at e.produce (immerClass.ts:94)
    at immerClass.ts:78
    at loadout-apply-state.ts:142
    at loadout-apply.ts:379
(anonymous) @ instrument.ts:130
s @ log.ts:33
(anonymous) @ loadout-apply.ts:127
await in (anonymous) (async)
(anonymous) @ index.js:16
(anonymous) @ ItemActionsDropdown.tsx:85
onSelected @ ItemActionsDropdown.tsx:99
(anonymous) @ downshift.esm.js:118
(anonymous) @ downshift.esm.js:116
Be @ react-dom.production.min.js:52
qe @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Tr @ react-dom.production.min.js:100
Pr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
je @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Mr @ react-dom.production.min.js:105
Qt @ react-dom.production.min.js:75
Xt @ react-dom.production.min.js:74
(anonymous) @ scheduler.production.min.js:18
$o @ react-dom.production.min.js:122
Re @ react-dom.production.min.js:292
Gt @ react-dom.production.min.js:73
r @ helpers.ts:88
log.ts:44 Loadout Application: 1216.26416015625 ms

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
hendersjcommented, Jan 3, 2022

I can confirm that this now appears to be fixed. Thanks!

0reactions
hendersjcommented, Jan 5, 2022

No worries - it happens. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slow-Moving Inventory: Identify, Manage & Prevent It - NetSuite
Some causes of slow-moving inventory involve competitive forces — namely, better deals and newer products being found elsewhere. Actively ...
Read more >
Obsolete Inventory: How To Identify, Reduce, & Manage It
Learn how to identify obsolete inventory using inventory management best practices, including how to avoid it and ways to reduce it.
Read more >
Inventory Management: A Guide to Success + Techniques
Inventory management is the basis of a well-functioning retail business. Learn the ins and outs to help your business improve efficiency.
Read more >
Tips For Effective Stock Control and Inventory Management
See these best practices and tips for effective stock control and inventory management to reinforce your business operations.
Read more >
Inventory Management in 2022: Manage and Improve Stock ...
Effective inventory management requires a delicate balance of not having too much inventory (leading to overstocking) or too little inventory ( ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found