-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 7.0.0
-
Fix Version/s: None
-
Component/s: Module - Relationships
-
Labels:
-
Environment:OpenIDM: 7.0.0-SNAPSHOT bbf905c
-
Target Version/s:
-
Story Points:2
-
Epic Link:
Edge-vertex query with sorting is not working for embedded_dj repo.
Steps to reproduce:
- deploy IDM with sample sync-with-csv
- execute reconcialiation
- run this query
curl -X GET \ 'http://idm.example.com:8080/openidm/internal/role/openidm-authorized/authzMembers?_queryFilter=_refResourceCollection%20eq%20%27managed/user%27&_sortKeys=userName' \ -H 'Content-Type: application/json' \ -H 'Cookie: session-jwt=' \ -H 'X-OpenIDM-Password: openidm-admin' \ -H 'X-OpenIDM-Username: openidm-admin' \ -H 'cache-control: no-cache'
- Then execute another query with reverse sorting:
curl -X GET \ 'http://idm.example.com:8080/openidm/internal/role/openidm-authorized/authzMembers?_queryFilter=_refResourceCollection%20eq%20%27managed/user%27&_sortKeys=-userName' \ -H 'Content-Type: application/json' \ -H 'Cookie: session-jwt=' \ -H 'X-OpenIDM-Password: openidm-admin' \ -H 'X-OpenIDM-Username: openidm-admin' \ -H 'cache-control: no-cache'
Expected results: records should be sorted accordingly
Actual results: record are not sorted correctly, the results is same for both queries
- relates to
-
OPENIDM-11654 support query result sorting by resource-expanded fields
-
- Open
-