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

Bug, sort of: lots of deprecation warnings while running a search #42

Open
esheyw opened this issue Feb 17, 2023 · 0 comments
Open

Bug, sort of: lots of deprecation warnings while running a search #42

esheyw opened this issue Feb 17, 2023 · 0 comments

Comments

@esheyw
Copy link

esheyw commented Feb 17, 2023

For every module activated during a search, the console gets one of these:

commons.js:1703 Error: You are accessing BasePackage#data which is now deprecated in favor of referencing schema fields directly on the BasePackage instance.
Deprecated since Version 10
Backwards-compatible support will be removed in Version 12
    at logCompatibilityWarning (commons.js:1692:19)
    at get data [as data] (commons.js:11759:7)
    at find-the-culprit.js:291:46
    at Array.map (<anonymous>)
    at doBinarySearchStep (find-the-culprit.js:288:22)
    at Object.doStep [as fn] (find-the-culprit.js:183:10)
    at #call (foundry.js:724:20)
    at Hooks.callAll (foundry.js:681:17)
    at Game.setupGame (foundry.js:7952:11)
    at async Game._initializeGameView (foundry.js:8999:5)
    at async Game.initialize (foundry.js:7825:5)

which is just a lot of clutter when trying to find more serious warnings. Would be great if this could be rectified at some point.

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

1 participant