-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10, 2021
-
Fix Version/s: 10.10-HF73, 2023.0, 2021.36
-
Component/s: Core MongoDB, Directory
-
Release Notes Summary:It is no longer possible to create a MongoDB directory entry without an id
-
Tags:
-
Backlog priority:700
-
Sprint:nxplatform #84
-
Story Points:3
If id is null in createEntryWithoutReferences, generate an exception and return.
SQLSession does this correctly: https://github.com/nuxeo/nuxeo/blob/2021/modules/platform/nuxeo-platform-directory/nuxeo-platform-directory-sql/src/main/java/org/nuxeo/ecm/directory/sql/SQLSession.java#L914