Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8745

Fix directory entry creation when using schema with a prefix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.5
    • Fix Version/s: None
    • Component/s: Directory

      Description

      Directory.createEntry(DocumentModel entry) breaks if the directory schema has a non null prefix

      All directory implementations of the createEntry(DocumentModel entry) method (SQL, LDAP and Multi do not handle correctly) schemas with a prefix: the fieldnames will carry the prefix while the internal field map do not expect it.

      Also this method is copy and pasted and should be factorized in the BaseSession abstract base class instead.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: