[Geoserver-devel] [jira] Created: (GEOS-2193) GetLog results don't agree with fromFeatureVersion and toFeatureVersion parameters

GetLog results don't agree with fromFeatureVersion and toFeatureVersion parameters
----------------------------------------------------------------------------------

                 Key: GEOS-2193
                 URL: http://jira.codehaus.org/browse/GEOS-2193
             Project: GeoServer
          Issue Type: Bug
          Components: Versioning
    Affects Versions: 1.7.0-RC1
            Reporter: Sebastian Benthall
            Assignee: Andrea Aime

I make the following request to sigma:

{code:xml}
<wfsv:GetLog xmlns:wfsv="http://www.opengis.net/wfsv&quot; service="WFSV" version="1.0.0" outputFormat="text/xml; subtype=gml/2.1.2">
  <wfsv:DifferenceQuery typeName="sf:archsites" fromFeatureVersion="14" toFeatureVersion="25"/>
</wfsv:GetLog>
{code}

I get the following response. I don't really get what's going on, but it doesn't look like the revision numbers for the changesets I get back have much to do with the fromFeatureVersion and toFeatureVersion numbers I sent in with the request.

{code:xml}
<?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:opengeo="http://open-geo.com" xmlns:gml="http://www.opengis.net/gml&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://open-geo.com http://sigma.openplans.org:80/geoserver/wfs?service=WFS&amp;version=1.0.0&amp;request=DescribeFeatureType&amp;typeName=opengeo:changesets http://www.opengis.net/wfs http://sigma.openplans.org:80/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
  <gml:boundedBy>
    <gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;
      <gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-103.94319916,44.37933731 -103.60982513,44.53127289</gml:coordinates>
    </gml:Box>
  </gml:boundedBy>
  <gml:featureMember>
    <opengeo:changesets fid="changesets.164">
      <opengeo:revision>164</opengeo:revision>
      <opengeo:author>anonymous</opengeo:author><opengeo:date>2008-03-04T12:47:10.547</opengeo:date><opengeo:message>updating opengeo:archsites to revision 7</opengeo:message><opengeo:bbox><gml:Polygon srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;&lt;gml:outerBoundaryIs&gt;&lt;gml:LinearRing&gt;&lt;gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-103.87115667,44.3793378 -103.63783693,44.3793378 -103.63783693,44.48539762 -103.87115667,44.48539762 -103.87115667,44.3793378</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></opengeo:bbox></opengeo:changesets></gml:featureMember>
  <gml:featureMember>
    <opengeo:changesets fid="changesets.28">
      <opengeo:revision>28</opengeo:revision>
      <opengeo:author>anonymous</opengeo:author><opengeo:date>2008-02-12T11:46:20.023</opengeo:date><opengeo:bbox><gml:Polygon srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;&lt;gml:outerBoundaryIs&gt;&lt;gml:LinearRing&gt;&lt;gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-103.78423684,44.45951515 -103.70561596,44.45951515 -103.70561596,44.52233543 -103.78423684,44.52233543 -103.78423684,44.45951515</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></opengeo:bbox></opengeo:changesets></gml:featureMember>
  <gml:featureMember>
    <opengeo:changesets fid="changesets.11">
      <opengeo:revision>11</opengeo:revision>
      <opengeo:author>anonymous</opengeo:author><opengeo:date>2008-01-22T03:49:16.217</opengeo:date><opengeo:bbox><gml:Polygon srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;&lt;gml:outerBoundaryIs&gt;&lt;gml:LinearRing&gt;&lt;gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-103.9431953,44.42716029 -103.60982891,44.42716029 -103.60982891,44.53126926 -103.9431953,44.53126926 -103.9431953,44.42716029</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></opengeo:bbox></opengeo:changesets></gml:featureMember></wfs:FeatureCollection>

{code}

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