[Geoserver-devel] [jira] Created: (GEOS-2257) Problems using FID in filter statements with AND or OR for ArcSDE data.

Problems using FID in filter statements with AND or OR for ArcSDE data.
-----------------------------------------------------------------------

                 Key: GEOS-2257
                 URL: http://jira.codehaus.org/browse/GEOS-2257
             Project: GeoServer
          Issue Type: Bug
          Components: ArcSDE, WFS
    Affects Versions: 1.7.0-RC3, 1.7.0-RC2, 1.7.0-RC1, 1.7.0-beta2, 1.7.0-beta1
         Environment: MS Windows
            Reporter: Christoph Koschmieder
            Assignee: Andrea Aime
            Priority: Critical

Tested Versions: Geoserver 1.7.0b1 an Geoserver 1.7.0RC3

There seems to be problems using FID in filter statements with AND or OR for ArcSDE data. I tried to use a filter like

    <ogc:Filter>
      <ogc:And>
        <ogc:FeatureId fid="FLAECHEN.338"/>
        <ogc:PropertyIsEqualTo>
          <ogc:PropertyName>USER</ogc:PropertyName>
          <ogc:Literal>TESTUSER</ogc:Literal>
        </ogc:PropertyIsEqualTo>
      </ogc:And>
    </ogc:Filter>
  
in GetFeature request. But this results in all features of user TESTUSER. Using filter

    <ogc:Filter>
        <ogc:FeatureId fid="FLAECHEN.338"/>
    </ogc:Filter>
  
works as expected. Much worse is the same behavior in delete requests with same filter. This results in deleting all features of this user in this feature type.

I tried it with Geoserver 1.5.4, too. There it seems to work as expected.

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