Importing a space from Confluence Cloud that has upper-cased groups causes a permissions error message

XMLWordPrintable

    • 13
    • Severity 3 - Minor
    • 1

      Summary

      • When importing a space from Cloud to Server, if there are any upper-cased groups, they'll show up with the following message in the Server's space permission
        Case incorrect. Correct case is: <lower-case group name>
        

      Environment

      N/A

      Steps to Reproduce

      1. In Confluence Cloud, create an upper-cased group. For example, Confluence-Test
      2. Add this group in the permissions of a space
        1. Go to Space tools >> Permissions
        2. Click on the Edit button
        3. Searcj for the group created and save the changes
      3. Go to the Content Tools >> Export tab
        1. Click on the option XML and on the Next button
        2. Click on the Export button
        3. Download the file
      4. In Confluence Server, go to General Configuration >> Backup & Restore
        1. Under the Upload a site or space export file section, click to choose a file
        2. Click on the Upload and import button
      5. Once the upload completes, access the imported space
      6. Click on Space tools >> Permissions

      Expected Results

      • The groups will have been imported and, in case there was any with an upper-cased name, convert it to lower-case

      Actual Results

      • Next to the group name, the following message will show up:
        Case incorrect. Correct case is: confluence-test
        

      Notes

      N/A

      Workaround

      • Create the same Cloud groups in Confluence Server, in lower-case, and replace them under the space permissions
      • Potential DB resolution (DB backup first, after updating the values, a cache cleanup from the UI might be needed):
        UPDATE spacepermissions SET permgroupname = '<correct group name>' WHERE permgroupname = '<incorrect group name>' AND spaceid = <space ID>;
        

              Assignee:
              Unassigned
              Reporter:
              Renata Bueno
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: