Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compendium browser console errors "decoratedItem.properties is not iterable" on 2.2.0 #63

Open
modzy2 opened this issue Feb 5, 2024 · 2 comments

Comments

@modzy2
Copy link

modzy2 commented Feb 5, 2024

After update to 2.2.0, I am getting this on the console, and the compendium browser remains "Loading..." and does not complete

compendium-browser.js:450 Uncaught (in promise) TypeError: decoratedItem.properties is not iterable at CompendiumBrowser.<anonymous> (compendium-browser.js:450:43) at Array.reduce (<anonymous>) at compendium-browser.js:425:16 at async CompendiumBrowser.loadAndFilterItems (compendium-browser.js:423:6) at async CompendiumBrowser.renderItemData (compendium-browser.js:776:16) at async CompendiumBrowser.replaceList (compendium-browser.js:741:26) (anonymous) @ compendium-browser.js:450 (anonymous) @ compendium-browser.js:425 await in (anonymous) (async) afterRender @ compendium-browser.js:689 #call @ foundry.js:730 callAll @ foundry.js:687 _render @ foundry.js:5855 await in _render (async) render @ foundry.js:5769 (anonymous) @ compendium-browser.js:676 dispatch @ jquery.min.js:2 y.handle @ jquery.min.js:2

I went back to 2.1.0 and it's ok.

@modzy2
Copy link
Author

modzy2 commented Feb 5, 2024

console_log.txt

@mclemente
Copy link

The project has been moved to https://github.com/mclemente/compendium-browser. I forgot to change the package URL on the Foundry page.

About the issue, I couldn't replicate it. If you hadn't updated to dnd5e 3.0, you shouldn't have updated the module anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants