Closed dakcarto closed 9 years ago
Also, if selecting one GS style under "GeoServer Styles" and choosing delete, user will be prompted to delete GS layer (and its dependencies), even though other styles exist for the layer, and even if the to-be-deleted style is not the layer's default style.
@volaya The deletion of multiple styles, from under a GS layer item, now also removes them from the catalog's styles. Is this expected? EDIT: doing the same individually does not remove the styles from catalog, only the layer.
Selecting a style under GeoServer Styles that is also a default style for a GS layer, which has more styles, then choosing to delete is a no op, though it appears to be doing something (progress bar, etc.). No deletion, user notification or reassigning of default layer occurs.
When selecting multiple GeoServer styles in panel tree, then electing to Delete them, the confirm delete dialog lists any parent GS layer (and its dependencies), which is somewhat destructive if there are possibly still other styles assigned to the GS layer.
Conversely, when deleting the same styles individually, the operation does not prompt for deletion of the GS layer, unless you are deleting the only remaining style, which is the default, for the layer.
Possible workflow: