Export fails if an LDAP user doesn't have an email address defined

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.2.1
    • Affects Version/s: 2.1.1
    • Component/s: Import & Export

      Crowd will fail to export if an LDAP user doesn't have an email:

      Cause :
      java.lang.IllegalArgumentException: Adding text to an XML document must not be null
      Stack Trace :
      java.lang.IllegalArgumentException: Adding text to an XML document must not be null
      at org.dom4j.DocumentFactory.createText(DocumentFactory.java:142)
      at org.dom4j.tree.AbstractElement.addText(AbstractElement.java:1286)
      at com.atlassian.crowd.migration.UserMapper.addUserToXml(UserMapper.java:86)
      

            Assignee:
            Adrian Hempel [Atlassian]
            Reporter:
            AjayA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: