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

Error loading Location Picker Widget in OpenCms 16.0 with inactive element #810

Open
chemajf opened this issue Nov 25, 2024 · 0 comments
Open

Comments

@chemajf
Copy link

chemajf commented Nov 25, 2024

Hello,
In OpenCms 16.0, I have configured the AddressMap element in the XSD as follows:
image

When editing the resource (with the AddressMap field inactive), I get the following error:
image

The most curious part is that after closing the error message, the map works correctly. I can select the address, it saves properly, and if I edit the resource again, the error does not appear.
In summary, the error only appears when the field is inactive.

By reviewing the API calls made during loading, I see that one particular call is triggered when we activate the field or when an address is already saved:
image

I believe this is a bug, and the API call should be executed even if the field configured with the Location picker widget is inactive.

Thank you very much.
Best regards,

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