[Geoserver-devel] [jira] Created: (GEOS-3142) If a layer fails to be added/saved when a resource/layer combo is saved then the resource becomes stale

If a layer fails to be added/saved when a resource/layer combo is saved then the resource becomes stale
-------------------------------------------------------------------------------------------------------

                 Key: GEOS-3142
                 URL: http://jira.codehaus.org/browse/GEOS-3142
             Project: GeoServer
          Issue Type: Bug
          Components: Wicket UI
    Affects Versions: 2.0-beta1
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
            Priority: Critical
             Fix For: 2.0-beta2

Catalog is not transactional, and {{ResouceConfigurationPage}} saves both the {{ResourceInfo}} and it's {{LayerInfo}} in a single shot, producing failures on saving the layer to end up with a stale ResourceInfo. This happens, for example, if trying to add a layer with the same name of an already existing one (since layer names are not validated taking into account the workspace/store or namespace yet)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira