Improve error message which appears when trying to add a user while JIRA user management is enabled

XMLWordPrintable

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      When Confluence has delegated the user management to JIRA, it is expected that customer will not add any user within Confluence - hence the External User Management option is set to ON in the General Configuration.

      When customer decides to add a user internally in Confluence (External User Management is set to OFF), they will encounter the following error message:

       Cause:
      com.atlassian.core.exception.InfrastructureException: com.atlassian.user.EntityException: Was unable to create user [pwhite] but the credentials provider [bucket.user.providers.CachingCredentialsProvider@edac1] did not say why.
       at bucket.user.DefaultUserAccessor.addUser(DefaultUserAccessor.java:102)
      caused by: com.atlassian.user.EntityException: Was unable to create user [pwhite] but the credentials provider [bucket.user.providers.CachingCredentialsProvider@edac1] did not say why.
       at com.atlassian.user.impl.osuser.OSUUserManager.createUser(OSUUserManager.java:91)
      

      While the exception is caught and the error message is logged, the information is not very helpful to the customer.

      We need a better error message that can be understood more easily.

            Assignee:
            BillA
            Reporter:
            Roy Hartono [Atlassian]
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: