Joshua Vote created GEOS-4974:
---------------------------------
Summary: Cannot WFS query auto generated SF gml:id
Key: GEOS-4974
URL: https://jira.codehaus.org/browse/GEOS-4974
Project: GeoServer
Issue Type: Bug
Components: WFS
Environment: Oracle database, Tomcat 6 container, Using the nightly
2012/02/29 build of geoserver
Reporter: Joshua Vote
Assignee: Andrea Aime
I am unable to make WFS 1.1.0 queries which specify the 'featureId' parameter
if the underlying simple features do not have an exposed primary key. i.e. This
is only reproducable if Geoserver is auto generating gml:id's for feature type.
The response to such a query is always an empty WFS response.
To reproduce:
1) Have some form of simple feature type whose gml:id's are automatically
generated by Geoserver such as with the case when no primary key is exposed in
the underlying table/view.
2) Make a basic WFS query -
http://example.com/wfs?service=WFS&version=1.1.0&typeName=sf:Type&maxFeatures=1
3) Extract the GML ID of the first feature returned in step 2
4) Use the GML ID in a subsequent WFS query -
http://example.com/wfs?service=WFS&version=1.1.0&typeName=sf:Type&featureId=extractedFeatureId
What should happen:
You should be returned the feature with the specified ID (which should exist
because it was extracted in step #2).
What actually happens:
You get an empty WFS response as if you had entered an invalid ID.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel