[Geoserver-devel] [JIRA] (GEOS-8717) WFS Filter Joins Select Specified Feature Type And Sorting On Each Feature Fields Not Working

Mahmud KOÇ created an issue

GeoServer / BugGEOS-8717

WFS Filter Joins Select Specified Feature Type And Sorting On Each Feature Fields Not Working

Issue Type:

BugBug

Affects Versions:

2.13.0

Assignee:

Unassigned

Components:

WFS

Created:

24/Apr/18 4:12 PM

Priority:

HighHigh

Reporter:

Mahmud KOÇ

Hi,
I Have Joined Tree Feature Types as shown below,
1 - I wantto select only numarataj features as json, but query returns always yolortahatyon feature, I have
changed typenames and aliases order but it didnt affect any,
Query always return yolortahatyon feature. and other features as simplefeatureimplementation format in json result
2 - After joins ordering is not working on each feature property, only works first feature type,
When I Typed yort:aciklama occurs error that Illegal property name: yort:aciklama for feature type maks:numarataj

<?xml version=“1.0”?>
<wfs:GetFeature version=“2.0.2” service=“WFS” count=“20” outputFormat=“application/json”
xmlns:maks=“www.maks.com.tr”
xmlns:gml=“http://www.opengis.net/gml/3.2
xmlns:wfs=“http://www.opengis.net/wfs/2.0
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xmlns:fes=“http://www.opengis.net/fes/2.0
xsi:schemaLocation=“http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd”>
<wfs:Query typeNames=“maks:numarataj maks:yolortahat maks:yolortahatyon” aliases=“num yort yoy”>
<fes:Filter>
<fes:And>
<fes:PropertyIsEqualTo>
<fes:ValueReference>yort/fid</fes:ValueReference>
<fes:ValueReference>yoy/yolortahatfid</fes:ValueReference>
</fes:PropertyIsEqualTo>
<fes:PropertyIsEqualTo>
<fes:ValueReference>yoy/fid</fes:ValueReference>
<fes:ValueReference>num/yolortahatyonfid</fes:ValueReference>
</fes:PropertyIsEqualTo>
</fes:And>
</fes:Filter>
<fes:SortBy>
<fes:SortProperty>
<fes:ValueReference>fid</fes:ValueReference>
<fes:SortOrder>DESC</fes:SortOrder>
</fes:SortProperty>
</fes:SortBy>
</wfs:Query>
</wfs:GetFeature>

Have a nice day

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100082-sha1:fb6f9eb)

Atlassian logo