[Geoserver-devel] [jira] Created: (GEOS-1598) ResultType is not being parsed into a ResultTypeType for GetVersionedFeature

ResultType is not being parsed into a ResultTypeType for GetVersionedFeature
----------------------------------------------------------------------------

                 Key: GEOS-1598
                 URL: http://jira.codehaus.org/browse/GEOS-1598
             Project: GeoServer
          Issue Type: Improvement
          Components: WFS, Versioning
    Affects Versions: 1.6.0-RC1
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 1.6.1

When parsing GetVersionedFeature (a pure GetFeature extension) resultType is assigned to "results" (even if the xml request does not contain it) and it's not parsed into a ResultTypeType so a class cast excetion occurrs.

The request is:
{code}
<wfsv:GetVersionedFeature service="WFSV" version="1.1.0"
  xmlns:topp="http://www.openplans.org/topp&quot;
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:wfsv="http://www.opengis.net/wfsv&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.1.0/wfsv.xsd
                      http://www.opengis.net/wfs
                      http://localhost:8080/geoserver/schemas/wfs/1.1.0/wfs.xsd&quot;&gt;
  <wfs:Query typeName="topp:archsites">
    <ogc:Filter>
       <ogc:FeatureId fid="archsites.1"/>
       <ogc:FeatureId fid="archsites.2"/>
       <ogc:FeatureId fid="archsites.26"/>
    </ogc:Filter>
  </wfs:Query>
</wfsv:GetVersionedFeature>
{code}

and can be run against the versioning configuration. I still haven't committed the code thought, so you can't try it just now (as I told you, I'm working on 1.6.x since this is critical for the NY maps people so I first have to make sure I'm not breaking anything with my changes). Will ping you when stuff is committed (and close this if it turns out to be a config error on my part, I just want to write it down so I won't forget about it).

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