[Geoserver-devel] [jira] Created: (GEOS-1621) GetVersionedFeature request not giving back versioning attributes

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&quot; version="1.0.0"><wfs:Insert><topp:comments xmlns:topp="http://www.openplans.org/topp&quot;&gt;&lt;topp:title&gt; </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&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/wfs http://artois.openplans.org:8080/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd&quot;&gt;&lt;wfs:InsertResult&gt;&lt;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&quot; version="1.0.0" service="WFSV" outputFormat="GML2" xmlns:topp="http://www.openplans.org/topp&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/wfsv http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-versioning.xsd&quot;&gt;&lt;wfs:Query xmlns:wfs="http://www.opengis.net/wfs&quot; typeName="topp:comments"><ogc:PropertyIsEqualTo xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;&lt;ogc:PropertyName&gt;notes\_gid&lt;/ogc:PropertyName&gt;&lt;ogc:Literal&gt;95&lt;/ogc:Literal&gt;&lt;/ogc:PropertyIsEqualTo&gt;&lt;/wfs:Query&gt;&lt;/wfsv:GetVersionedFeature&gt;

Response #2:

<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns="http://www.opengis.net/wfs&quot; xmlns:wfs="http://www.opengis.net/wfs&quot; xmlns:topp="http://www.openplans.org/topp&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.openplans.org/topp http://artois.openplans.org:8080/geoserver/wfs?service=WFSV&amp;version=1.0.0&amp;request=DescribeVersionedFeatureType&amp;typeName=topp:comments http://www.opengis.net/wfs http://artois.openplans.org:8080/geoserver/schemas/wfs/1.0.0/WFS-versioning.xsd&quot;&gt;&lt;gml:boundedBy&gt;&lt;gml:null&gt;unknown&lt;/gml:null&gt;&lt;/gml:boundedBy&gt;&lt;gml:featureMember&gt;&lt;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