Describe the bug
This COULD very well be a bug in MY code, I am new to JS(but not to programming in general) and trying a very simple module example from the foundry wiki with a few changes. The same happens when following step by step with the example on the linked page below.
To Reproduce
Steps to reproduce the behavior:
Add Module that uses Journal Page sub types as explained HERE (as suggested by Core Foundry discord team to add subtypes to the base ones)
Add Enhanced Journal
reload/refresh
Expected behavior
Both modules load and play nice together. This could be a core foundry issue where they don't expect referedering of already rendered core elements(I doubt that though) or it could very well be I am missing something. I did attempt a bit of help from the Foundry core discord and they suggested I added LOCALIZATION_PREFIXES to my Model which I did(not sure if done correctly or not though)
For reference, my module is uploaded(no release, just raw files): https://github.com/jfrazierjr/fantasybookjournal
Call to Localization.#localizeDataModels(); throws exception and locks client(ie, game does not load).
Screenshots
And THIS is right before the exception is thrown in the #localizeSchema method. Note the current model is an object.bookpage with LOCALIZATION_PREFIXES.
Please complete as much of the following information as possible:
Browser [e.g. chrome, safari] Chrome
Foundry Version [e.g. v9]: 12.331
System: PF2e
Version: 12.01
See above
Only two modules loaded and ONLY with my module loaded no error happens and the module appears to work as expected.
Additional context
Add any other context about the problem here.
Describe the bug This COULD very well be a bug in MY code, I am new to JS(but not to programming in general) and trying a very simple module example from the foundry wiki with a few changes. The same happens when following step by step with the example on the linked page below.
To Reproduce Steps to reproduce the behavior:
Expected behavior Both modules load and play nice together. This could be a core foundry issue where they don't expect referedering of already rendered core elements(I doubt that though) or it could very well be I am missing something. I did attempt a bit of help from the Foundry core discord and they suggested I added LOCALIZATION_PREFIXES to my Model which I did(not sure if done correctly or not though)
For reference, my module is uploaded(no release, just raw files): https://github.com/jfrazierjr/fantasybookjournal Call to Localization.#localizeDataModels(); throws exception and locks client(ie, game does not load).
Screenshots
And THIS is right before the exception is thrown in the #localizeSchema method. Note the current model is an object.bookpage with LOCALIZATION_PREFIXES.
Please complete as much of the following information as possible:
Additional context Add any other context about the problem here.