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

MapStore only supports string visibility #3121

Open
t92549 opened this issue Nov 27, 2023 · 0 comments
Open

MapStore only supports string visibility #3121

t92549 opened this issue Nov 27, 2023 · 0 comments
Labels
bug Confirmed or suspected bug map-store Specific to/touches the map-store module
Milestone

Comments

@t92549
Copy link
Contributor

t92549 commented Nov 27, 2023

Describe the bug
The MapStore only supports visibility properties of type string. This is because of an incorrect assumption, from this cast:

final ElementVisibility elementVisibility = new ElementVisibility((String) e.getProperty(visibilityProperty));

Expected behaviour
Custom objects should be allowed as well as basic string visibilities.

Additional context
Right now the ApplyViewToElementsFunction uses the MapStore, so this is affecting federation.

@t92549 t92549 added bug Confirmed or suspected bug map-store Specific to/touches the map-store module labels Nov 27, 2023
@GCHQDeveloper314 GCHQDeveloper314 added this to the Backlog milestone Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed or suspected bug map-store Specific to/touches the map-store module
Projects
None yet
Development

No branches or pull requests

2 participants