Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5375

Add configuration possibility to ImportCommand to change activation state to "unpublish" after import

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.1.1
    • 5.1
    • None
    • 5.1 RC2 Enterprise Edition
    • Yes
    • 5.1.1

    Description

      When I import a previously exported file, the new nodes are created alright, but their publication state is equal to the nodes I've exported. Their publication state, however, should be "unpublished" instead.

      This is also bad because it leads to supposedly "weird" behavior, which in fact wouldn't be seen as weird if I knew the actual publication state of the pages I work with. As an example, if I change a child page in the imported tree and try to publish the change, I'm told that the parent page is actually not yet published. Since it looks published, however, this is confusing.

      Steps to reproduce:

      1. Export the "article" page hierarchy of demo project (see Screenshot 1.png).
      2. Select the demo feature root page, then import the XML file you've just exported (see Screenshot 2.png).
      3. The imported sub tree shows a wrong publication state. In this case, all pages look published (see Screenshot 3.png).

      The behavior above is correct. We want by default preserve activation state, but we decide to do the behavior configurable. If someone wants have content "unpublish" he can add

      Checklists

        Acceptance criteria

        Attachments

          1. Screenshot 1.png
            Screenshot 1.png
            109 kB
          2. Screenshot 2.png
            Screenshot 2.png
            94 kB
          3. Screenshot 3.png
            Screenshot 3.png
            138 kB
          4. website.demo-project.about.xml
            145 kB

          Issue Links

            Activity

              People

                mdivilek Milan Divilek
                weder Andreas Weder
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD