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

      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.

        1. PersonalInformation.class
          5 kB
          Partha
        2. PersonalInformation.class.zip
          2 kB
          Partha

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

            Partha added a comment - - edited

            I am attaching a patch (the attached zip file) that will work for confluence 3.0.x

            1) Please place the attached PersonalInformation.class in your confluence/WEB-INF/classes/com/atlassian/confluence/user directory (you will need to create the user directory).
            2) Then restart confluence.

            This will resolve your problem.

            Kind Regards,
            Partha Kamal

            Partha added a comment - - edited I am attaching a patch (the attached zip file) that will work for confluence 3.0.x 1) Please place the attached PersonalInformation.class in your confluence/WEB-INF/classes/com/atlassian/confluence/user directory (you will need to create the user directory). 2) Then restart confluence. This will resolve your problem. Kind Regards, Partha Kamal

            Anatoli added a comment -

            Hi Justin,

            Unfortunately this bug will not be fixed in the next bug fixing release. However given the popularity of this issue we might consider fixing it in a near feature.

            Anatoli.

            Anatoli added a comment - Hi Justin, Unfortunately this bug will not be fixed in the next bug fixing release. However given the popularity of this issue we might consider fixing it in a near feature. Anatoli.

            Any chance this can get added to an upcoming release of Confluence?

            Justin Rech added a comment - Any chance this can get added to an upcoming release of Confluence?

            Just confirmed - the problem still occurs and the patch is still good for 2.10.3. A clarification - the problem only occurs with mixed case usernames; mixed case full names don't experience the issue.

            Jeremy Largman added a comment - Just confirmed - the problem still occurs and the patch is still good for 2.10.3. A clarification - the problem only occurs with mixed case usernames ; mixed case full names don't experience the issue.

            I'm experiencing this issue in 2.10.2.

            User "DaveD" does not equal "daved."

            Dave Drexler added a comment - I'm experiencing this issue in 2.10.2. User "DaveD" does not equal "daved."

            I tried Confluence 2.10.1 and OpenLDAP with a mixed case name (cn=My Name) and it works correctly even without the patch.

            schirmacher added a comment - I tried Confluence 2.10.1 and OpenLDAP with a mixed case name (cn=My Name) and it works correctly even without the patch.

            Still a problem on non-patched 2.10.1.

            Josh LeBow added a comment - Still a problem on non-patched 2.10.1.

            Confirmed this problem still occurs in non-patched 2.9.2.

            Brad Wallace added a comment - Confirmed this problem still occurs in non-patched 2.9.2.

            ItThis fix is not included with conflence version 2.9. Please try to include this fix in future releases of confluence.

            Srinivasa Penubothu added a comment - ItThis fix is not included with conflence version 2.9. Please try to include this fix in future releases of confluence.

            Partha added a comment -

            A patch for this issue. Will work in both 2.8.0 and 2.8.1.

            1) Please place the attached PersonalInformation.class in your confluence/WEB-INF/classes/com/atlassian/confluence/user directory (you will need to create the user directory).
            2) Then restart confluence.

            This will resolve your problem.

            Kind Regards,
            Partha Kamal

            Partha added a comment - A patch for this issue. Will work in both 2.8.0 and 2.8.1. 1) Please place the attached PersonalInformation.class in your confluence/WEB-INF/classes/com/atlassian/confluence/user directory (you will need to create the user directory). 2) Then restart confluence. This will resolve your problem. Kind Regards, Partha Kamal

              dave@atlassian.com dave (Inactive)
              pkamal Partha
              Affected customers:
              6 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: