[Geoserver-devel] [jira] (GEOS-6055) [App-schema] Projection clause does not work

Rudy Commenge created BugGEOS-6055
[App-schema] Projection clause does not work

Issue Type:

BugBug

Affects Versions:

2.4.0

Assignee:

Rini Angreani

Components:

Application schema

Created:

26/Sep/13 9:48 AM

Description:

I have the following feature :

<myns:MyFeature>
  ...
  <myns:name>Paris</myns:name>
  <myns:country>France</myns:country>
  ...
</myns:MyFeature>

The following request :

<wfs:GetFeature service="WFS" version="2.0.0" outputFormat="gml32" 
    xmlns:myns="http://myNs" 
    xmlns:wfs="http://www.opengis.net/wfs/2.0" 
    xmlns:fes="http://www.opengis.net/fes/2.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/2.0/wfs.xsd">
      <wfs:Query typeNames="myns:MyFeature">
        <wfs:PropertyName>myns:name</wfs:PropertyName>
        <fes:Filter>
         ...
        </fes:Filter>
      </wfs:Query>
    </wfs:GetFeature>

Returns the following exception :

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0.0"
	xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://127.0.0.1:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd">
	<ows:Exception exceptionCode="InvalidParameterValue"
		locator="GetFeature">
		<ows:ExceptionText>Requested property: name is not available for
			myns:MyFeature.  </ows:ExceptionText>
	</ows:Exception>
</ows:ExceptionReport>

Environment:

Oracle 11,
Glassfish

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Rudy Commenge

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)