GetVersionedFeature request not giving back versioning attributes
-----------------------------------------------------------------
Key: GEOS-1621
URL: http://jira.codehaus.org/browse/GEOS-1621
Project: GeoServer
Issue Type: Bug
Components: Versioning
Reporter: Sebastian Benthall
Assignee: Andrea Aime
The final response does not have the expected versioning attributes, like author and date.
Before the following requests, there are no comment features with notes_gid attribute == 95
Request #1:
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" version="1.0.0"><wfs:Insert><topp:comments xmlns:topp="http://www.openplans.org/topp"><topp:title> </topp:title><topp:comment>This is a new comment.</topp:comment><topp:notes_gid>95</topp:notes_gid></topp:comments></wfs:Insert></wfs:Transaction>
Response #1:
<?xml version="1.0" encoding="UTF-8"?><wfs:WFS_TransactionResponse version="1.0.0" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://artois.openplans.org:8080/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd"><wfs:InsertResult><ogc:FeatureId fid="comments.190"/></wfs:InsertResult> <wfs:TransactionResult> <wfs:Status> <wfs:SUCCESS/> </wfs:Status> </wfs:TransactionResult></wfs:WFS_TransactionResponse>
Request #2:
<wfsv:GetVersionedFeature xmlns:wfsv="http://www.opengis.net/wfsv" version="1.0.0" service="WFSV" outputFormat="GML2" xmlns:topp="http://www.openplans.org/topp" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfsv http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-versioning.xsd"><wfs:Query xmlns:wfs="http://www.opengis.net/wfs" typeName="topp:comments"><ogc:PropertyIsEqualTo xmlns:ogc="http://www.opengis.net/ogc"><ogc:PropertyName>notes\_gid</ogc:PropertyName><ogc:Literal>95</ogc:Literal></ogc:PropertyIsEqualTo></wfs:Query></wfsv:GetVersionedFeature>
Response #2:
<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:topp="http://www.openplans.org/topp" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openplans.org/topp http://artois.openplans.org:8080/geoserver/wfs?service=WFSV&version=1.0.0&request=DescribeVersionedFeatureType&typeName=topp:comments http://www.opengis.net/wfs http://artois.openplans.org:8080/geoserver/schemas/wfs/1.0.0/WFS-versioning.xsd"><gml:boundedBy><gml:null>unknown</gml:null></gml:boundedBy><gml:featureMember><topp:comments fid="comments.190"><topp:notes_gid>95</topp:notes_gid><topp:title> </topp:title><topp:comment>This is a new comment.
</topp:comment></topp:comments></gml:featureMember></wfs:FeatureCollection>
--
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