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

Enabling hooks logging causes a mergeObject error #51

Open
Eligarf opened this issue Jun 21, 2022 · 1 comment
Open

Enabling hooks logging causes a mergeObject error #51

Eligarf opened this issue Jun 21, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Eligarf
Copy link

Eligarf commented Jun 21, 2022

Environment Details

  • Foundry Core Version: 9.269
  • System & Version: DnD5e 1.6.3
  • OS & Browser: Native foundry application
  • Hosting: Self hosted

Describe the bug
The save changes operation of the debug flag config dialog crashes with these messages in the console:
foundry.js:3856 Error: One of original or other are not Objects!
at mergeObject (helpers.mjs:472)
at DevModeConfig._updateObject (DevModeConfig.mjs:271)
at DevModeConfig._onSubmit (foundry.js:3853)
_onSubmit @ foundry.js:3856
async function (async)
_onSubmit @ foundry.js:3853

To Reproduce
Steps to reproduce the behavior:

  1. Disable all modules except Developer Mode module v1.15.2
  2. Click on the Developer Mode Icon
  3. Enable the Hooks checkbox
  4. Click 'Save Changes'

Expected behavior
I expect to start seeing a log of hooks being fired as I interact with actors/etc.

Screenshots

I've tried deleting the module and reinstalling, no change in behavior. This affects all my worlds equally, Any assistance in helping me at least get rid of the bad data poisoning this operation would be very helpful.

@Eligarf Eligarf added the bug Something isn't working label Jun 21, 2022
@akrigline
Copy link
Member

Hmmm. That's unfortunate. I would advise backtracking to v1.13.2
That line looks like it deals with the compatibility warnings side of things for v10, in v9 it's useless and evidently causing issues... Sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants