[Geoserver-devel] [jira] (GEOS-6786) WFS DescribeFeatureType missing attributes

Tony Stewart created an issue

GeoServer / BugGEOS-6786

WFS DescribeFeatureType missing attributes

Issue Type:

BugBug

Affects Versions:

2.6.0

Assignee:

Andrea Aime

Components:

WFS

Created:

27/Nov/14 1:16 AM

Environment:

Debian

Priority:

MajorMajor

Reporter:

Tony Stewart

DescribeFeatureType does not return a property when the property is ‘name’.

Edit layer in the web interface lists the following properties:
the_geom
name
road_surfa
road_highw

The request
http://65.99.241.240/geoserver-2.6.0/wfs?version=1.1.1&request=DescribeFeatureType&typename=Taranaki%3Aroads-centrelines
returns
<xsd:schema elementFormDefault=“qualified” targetNamespace=“http://65.99.241.240/geoserver-2.6.0/workspaces/Taranaki”>
<xsd:import namespace=“http://www.opengis.net/gml/3.2” schemaLocation=“http://65.99.241.240:80/geoserver-2.6.0/schemas/gml/3.2.1/gml.xsd”/>
<xsd:complexType name=“roads-centrelinesType”>
<xsd:complexContent><xsd:extension base=“gml:AbstractFeatureType”>
<xsd:sequence>
<xsd:element maxOccurs=“1” minOccurs=“0” name=“the_geom” nillable=“true” type=“gml:MultiCurvePropertyType”/>
<xsd:element maxOccurs=“1” minOccurs=“0” name=“road_surfa” nillable=“true” type=“xsd:string”/>
<xsd:element maxOccurs=“1” minOccurs=“0” name=“road_highw” nillable=“true” type=“xsd:string”/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name=“roads-centrelines” substitutionGroup=“gml:AbstractFeature” type=“Taranaki:roads-centrelinesType”/>
</xsd:schema>

i.e. the ‘name’ property is missing.

Note: If version is changed to 1.0.0, then the ‘name’ property is returned

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo