geonode
geonode copied to clipboard
associated styles not visible in Map Layer Settings -> Style Settings
Expected Behavior
If a layer has associated styles (additional to it's default style), they are selectable from the layer settings -> Style settings in the drop down menu and can be selected and applied to the layer in a map.
Actual Behavior
The associated styles do not show anywhere and cannot be applied to the respective layer.
Steps to Reproduce the Problem
- Upload a layer
- Go to Geoserver and create a new style
- Add the style as associated style to the newly uploaded layer
- Add new layer to map, open layer settings, open style settings --> only the default style is in the dropdown list
Specifications
- GeoNode version: 4.1.3
- Installation type (vanilla, geonode-project): geonode-project
- Installation method (manual, docker): docker
- Platform: Ubuntu 20.04
- Additional details: In Version 3 there was a button to refresh the statistics, which got the new styles for the layer and it was possible to use the style in the preview page of the layer (and download the styles) as well as in the maps by changing from default to alternative --> Currently a dataset with different styles needs to get published again to have a different symbolization (i.e. Administrative Regions without label and with label)