[TinyOWS-dev] [tinyows] #50: Layer based on SQL view breaks DescribeFeatureType request
tinyows
trac at tinyows.org
Wed Jul 14 01:19:16 EST 2010
#50: Layer based on SQL view breaks DescribeFeatureType request
-----------------------------------------+----------------------------------
Reporter: mno | Owner:
Type: defect | Status: new
Priority: minor | Version: SVN
Keywords: DescribeFeature sqlview | Stage: Unreviewed
Approval: Unnecessary | Patch: None
Complexity: Unknown | Compatibility: Unknown
Specification: Unnecessary |
-----------------------------------------+----------------------------------
In rev. 185 in src/wfs/wfs_get_feature.c in line 96 we have:
pkey = ows_psql_id_column(o, layer_name); /* pkey could be NULL !!! */
as a note for layer based on SQL View, but in the src/wfs/wfs_describe.c
in line 60 :
assert(id_name != NULL);
which breaks DescribeFeature and in turn saving features on other layer.
Definition of the layer based on SQL view in config triggers this error.
Mike
--
Ticket URL: <http://www.tinyows.org/trac/ticket/50>
tinyows <https://www.tinyows.org/trac/>
TinyOWS
More information about the TinyOWS-dev
mailing list