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

Cannot create a LDAP entry with an empty list

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.4.2-RC1, 5.4.2
    • Component/s: None

      Description

      In a LDAP directory, with a schema containing a StringList.

      When trying to create a new entry with an empty list in this field, this exception occured :

      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: javax.naming.directory.InvalidAttributeValueException. message: 'employeeType' has no values.
      at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:996)
      at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:393)
      at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_bind(ComponentDirContext.java:277)
      at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.bind(PartialCompositeDirContext.java:197)
      at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.bind(PartialCompositeDirContext.java:186)
      at javax.naming.directory.InitialDirContext.bind(InitialDirContext.java:158)
      at org.nuxeo.ecm.directory.ldap.LDAPSession.createEntry(LDAPSession.java:208)

        Attachments

          Activity

            People

            • Assignee:
              akervern Arnaud Kervern
              Reporter:
              akervern Arnaud Kervern
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: