Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12009

users with ldap usernames that are UPPERCASE fail isViewingMyProfile() thus edit tabs and createPersonalSpace links do not work when viewing your perferences

XMLWordPrintable

      When an LDAP user whose name in LDAP is in uppercase views their preferences, only 'View Profile' tab is visible.
      'Edit Profile', 'Labels', 'Watches' and 'Drafts' are missing, as well as CreatePersonalSpace link.

      This used to work in 2.7.1.

      The reason these tabs don't work is because isViewingMyProfile returns false, when it should be returning true.

      Adding extra debug shows that fails because it is comparing different cases of the same username e.g.

      ADMIN == admin returns false.

              dave@atlassian.com dave (Inactive)
              pkamal Partha
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: