Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-109
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-109
Summary: GetFeatureHandler is greedy with PropertyNames
Type: Bug
Status: Open
Priority: Major
Original Estimate: 40 minutes
Time Spent: Unknown
Remaining: 40 minutes
Project: GeoServer
Fix Fors:
1.2-beta
Versions:
1.2-beta
1.1.1
Assignee: Chris Holmes
Reporter: Chris Holmes
Created: Sat, 6 Mar 2004 12:08 AM
Updated: Sat, 6 Mar 2004 12:08 AM
Description:
If a post request with a filter wanting a value equal to a propertyName then the Query instead grabs it as a propertyName for the query, not the filter. I think this makes it so the filter does not get created, and the query returns the one propertyName instead of all. A sample request where this messes up is:
<wfs:GetFeature
version="1.0.0" service="WFS" outputFormat="GML2"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs ../wfs/1.0.0/WFS-basic.xsd">
<wfs:Query typeName="topp:hong_kong">
<ogc:PropertyIsBetween>
<ogc:PropertyName>fire:NAME</ogc:PropertyName> <ogc:LowerBoundary><ogc:Literal>tulsa</ogc:Literal></ogc:LowerBoundary>
<ogc:UpperBoundary><ogc:Literal>tulsa</ogc:Literal></ogc:UpperBoundary>
</ogc:PropertyIsBetween>
</wfs:Query>
</wfs:GetFeature>
With this request instead of returning a full hong kong feature with tulsa as its name it returns all hong kong features with just their NAME attributes.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira