[Geoserver-devel] [jira] Created: (GEOS-2812) CatalogImpl.validate(ResourceInfo, false) does not handle name change

CatalogImpl.validate(ResourceInfo, false) does not handle name change
---------------------------------------------------------------------

                 Key: GEOS-2812
                 URL: http://jira.codehaus.org/browse/GEOS-2812
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.0.x

From the ml:

While looking into CatalogImpl.validate(ResourceInfo) I also noticed
the name validation occurs only if the layer is new... which does
not look like a good idea, as people can change the name afterwards
as well, and make it collide with another layer. The code should
check if the catalog already contains a resource with the same name
in the same workspace, and pass only if none is found, or if the
resource found is different from the one at hand (which requires
some id based comparison, with an id different than the name)...

--
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