Confluence API supports adding user with null password, but users will null passwords produce NullPointerException when using the osuser to atlassian-user migration utility jsp

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.5.8, 2.6.0, 2.7
    • Affects Version/s: 2.5.4
    • Component/s: None
    • Environment:

      Confluence 2.5.4 massive, Java 1.5, Linux

      In https://support.atlassian.com/browse/CSP-10738 it was stated that the solution for the NullPointerException when migrating users with null passwords from osuser to atlassian-user was to populate the password field with some arbitrary value. The reason those users had null passwords, is that the confluence API allows them to be created with null passwords, so this is definitely a bug in the migration utility, because the migration utility must be able to migrate users that were created with the confluence API (specifically com.atlassian.user.UserManager in this case, but am pretty sure userAccessor in user-atlassian API also lets you create users without a password).

      Support issue relating to bug: https://support.atlassian.com/browse/CSP-10738

            Assignee:
            m@ (Inactive)
            Reporter:
            Gary Weaver
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: