"Could not list layers for this store" for WFS Store when using list=available
------------------------------------------------------------------------------

                 Key: GEOS-4840
                 URL: https://jira.codehaus.org/browse/GEOS-4840
             Project: GeoServer
          Issue Type: Bug
          Components: REST
            Reporter: Jeffrey Johnson
            Assignee: Andrea Aime
            Priority: Minor


When creating Remote WFS Stores, if the layers are not configured when the 
store is created in the Wicket UI, an error is thrown when trying to later get 
a list of available layers to configure ... whether via the UI or via the REST 
api with list=available.

I've configured a WFS Store via the REST API and tried to get a list of 
available layers like this.

http://localhost:8080/geoserver/rest/workspaces/default/datastores/wfs.data.linz.govt.nz/featuretypes.xml?list=available

and the following error is thrown.

Could not load datastore: wfs.data.linz.govt.nz:Exception Report Could not 
determine geoserver request
      from http request 
org.geoserver.platform.AdvancedDispatchFilter$AdvancedDispatchHttpRequest@48dfee4f
 Exception Code:MissingParameterValue Locator: request

and then back in the UI if I try to configure a layer for this store the 
following error is displayed

Could not list layers for this store, an error occurred retrieving them: 
Exception Report Could not determine geoserver request from http request 
org.geoserver.platform.AdvancedDispatchFilter$AdvancedDispatchHttpRequest@6abc0b43
 Exception Code:MissingParameterValue Locator: request

The full stack trace in the GeoServer logs is pasted here. 
http://pastebin.com/ezcTgKGR

In case I've misconfigured the store, the xml representation via the REST API 
looks like this.

http://pastebin.com/24Ey6yuB

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to