[Geoserver-devel] [JIRA] (GEOS-7730) Renaming a style after failing validation will duplicate the style

Torben Barsballe created an issue

GeoServer / BugGEOS-7730

Renaming a style after failing validation will duplicate the style

Issue Type:

BugBug

Affects Versions:

2.9.1, 2.10-M0

Assignee:

Unassigned

Created:

08/Sep/16 12:00 AM

Priority:

MediumMedium

Reporter:

Torben Barsballe

Steps to reproduce:

  1. Start GeoServer
  2. Edit an existing style and delete the name. Click “Submit”. You should get an error message along the lines of “Field ‘Name’ is required”.
  3. Fill the name field in with something different from the original name of the style.
  4. Click “Submit”. You will be returned to the style list, and will see the renamed style.
  5. Restart GeoServer.
  6. Go to the style list. You will see both the original style name and the renamed style as seperate entries.

Some things to note:
This only appears to affect Style, not Layer, LayerGroup, etc.
This affects both the old style page (pre 2.10) and the new style page (post 2.10). While I have only tested 2.9.x and master, I assume this affects 2.8 and earlier as well.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.305.0#100011-sha1:1dc2d9a)

Atlassian logo