Details
-
Type:
Bug
-
Status: Done
-
Priority:
Major
-
Resolution: Not a defect
-
Affects Version/s: 7.0.0
-
Fix Version/s: Not applicable
-
Component/s: rest
-
Labels:None
-
Epic Link:
-
Story Points:3
Description
IDM defines the following rest2ldap query:
"query-all-ids": { "_queryFilter": "true", "_fields": "_id,_rev" }
If http://localhost:8080/openidm/managed/user?_queryId=query-all-ids is dispatched against a DS instance configured with an explicit mapping (https://stash.forgerock.org/projects/OPENIDM/repos/openidm/browse/openidm-samples/repo-config/src/main/resources/opendj/conf/repo.ds-explicit-managed-user.json) and the default rest2ldap configuration of
"returnNullForMissingProperties": true
then the returned values will include all existing fields other than _id and _rev, all set to null, despite the fact that some of these fields do contain data.
If the above-referenced repo-configuration file is updated with
"returnNullForMissingProperties": false
then only the _id and _rev fields are returned, as expected.
Attachments
Issue Links
- is related to
-
OPENIDM-13657 Implement Filter to map all queryId-based QueryRequests to queryFilter-based QueryRequests
-
- Closed
-
- is required by
-
OPENIDM-12683 Embedded DJ explicit user object has null properties on validTarget
-
- Closed
-
-
OPENIDM-13375 REST2LDAP: Null source on query-all-ids
-
- Closed
-