[Geoserver-devel] [jira] Created: (GEOS-4818) WFS 2.0 response to WFS 1.1 request in SampleDataAccessWfsTest

WFS 2.0 response to WFS 1.1 request in SampleDataAccessWfsTest
--------------------------------------------------------------

                 Key: GEOS-4818
                 URL: https://jira.codehaus.org/browse/GEOS-4818
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
         Environment: Apache Maven 3.0.3 (r1075438; 2011-03-01 01:31:09+0800)
Maven home: /home/car605/junk/java/maven3
Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
Java home: /home/car605/junk/java/jdk1.6.0_26.x64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "2.6.40.6-0.fc15.x86_64", arch: "amd64", family: "unix"

Or Eclipse Helios x86_64 with the same jdk1.6.0_26.x64

            Reporter: Ben Caradoc-Davies
            Assignee: Justin Deoliveira
            Priority: Critical

When the WFS 2.0 patch is applied to trunk, SampleDataAccessWfsTest.getFeatureContent fails because it receives a WFS 2.0 response even when it requests version=1.1.0. This occurs if and only if a WFS 2.0 request is made first (SampleDataAccessWfsTest.getFeature). If SampleDataAccessWfsTest.getFeatureContent is run by itself, it gets a WFS 1.1 response and passes.

Although SampleDataAccessWfsTest is in app-schema/sample-data-access-test, it has no dependency on app-schema at all! (It was designed to test the handling of generic DataAccess by core.)

This failure indicates a serious problem in WFS core.

The workaround is to put version=1.1.0 on all GET URLs in this test suite, which causes them all to pass, but the underlying problem must be identified.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira