[Geoserver-devel] [jira] Created: (GEOS-2058) Coverages do disappear from the catalog after "apply" is pressed

Coverages do disappear from the catalog after "apply" is pressed
----------------------------------------------------------------

                 Key: GEOS-2058
                 URL: http://jira.codehaus.org/browse/GEOS-2058
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.7.0-beta1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.0-beta2

Try a coverage map preview, then press "apply" and go back to the preview, the coverage is no more there and the stack trace is:

{code}
28 lug 14:49:21 ERROR [geoserver.ows] -
java.util.NoSuchElementException: Could not locate CoverageConfig 'nurc:Pk50095'
  at org.vfny.geoserver.global.Data.getCoverageInfo(Data.java:2006)
  at org.geoserver.wms.kvp.GetMapKvpRequestReader.findCoverageLayer(GetMapKvpRequestReader.java:1155)
  at org.geoserver.wms.kvp.GetMapKvpRequestReader.buildMapLayerInfo(GetMapKvpRequestReader.java:1116)
  at org.geoserver.wms.kvp.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1049)
  at org.geoserver.wms.kvp.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:182)
  at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:997)
  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:383)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:191)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
...
{code}

The coverages are reloaded properly only after hitting "load" or restarting GeoServer.

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