Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-7991

Imports containing invalid space keys should fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Triage (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2.3.2, 2.3.3, 2.4
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      N/A

      Description

      If a Confluence XML space export has it's space key modified according to the instructions at http://confluence.atlassian.com/pages/viewpage.action?pageId=14286901 to have an invalid key, the space export will still import without throwing any failure. A check for space key validity should be performed on all exports and the import should fail.

      To replicate:
      1) Create a space export
      2) Modify references to the key according to http://confluence.atlassian.com/pages/viewpage.action?pageId=169578#HowcanIcopyaspace%3F-method2 so that the key is invalid
      3) Import the space

      The invalid space cannot be deleted or accessed, so this can only be recovered from by reverting to backup or by manually changing the space key to a valid key in the database.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              david.soul@atlassian.com David Soul [Atlassian]
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: