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

Description

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>
<fesropertyIsEqualTo>
<fes:ValueReference>yort/fid</fes:ValueReference>
<fes:ValueReference>yoy/yolortahatfid</fes:ValueReference>
</fesropertyIsEqualTo>
<fesropertyIsEqualTo>
<fes:ValueReference>yoy/fid</fes:ValueReference>
<fes:ValueReference>num/yolortahatyonfid</fes:ValueReference>
</fesropertyIsEqualTo>
</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

Environment

None

Assignee

Unassigned

Reporter

Mahmud KOÇ

Triage

None

Fix versions

None

Affects versions

Components

Priority

High
Configure