Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6284

duplicateNodeAction should strip activation metadata

    XMLWordPrintable

Details

    • Yes
    • Maintenance 52, Maintenance 53
    • 1

    Description

      Reproduce:

      • Open the pages app
      • Duplicate /travel/tour to create /travel/tour0
      • Export tour0

      Expected:
      The new node tour0 should not contain any metadata related to activation.

      Actual:
      Metadata from the original node about activation remains.

      'tour0':
        'hideInNav': 'true'
        'jcr:primaryType': 'mgnl:page'
        'jcr:uuid': '84b07c40-de2d-4c2a-987b-af3692fa6db9'
        'mgnl:activationStatus': false
        'mgnl:created': 2020-10-07T13:03:38.650Z
        'mgnl:createdBy': 'superuser'
        'mgnl:lastActivated': 2020-10-07T13:03:38.674Z
        'mgnl:lastActivatedBy': 'superuser'
        'mgnl:lastModified': 2020-10-07T13:03:38.720Z
        'mgnl:lastModifiedBy': 'superuser'
        'mgnl:template': 'tours:pages/tour'
        'title': 'Tour detail'
        'main':
          'jcr:primaryType': 'mgnl:area'
          'jcr:uuid': '695f32bc-05c4-45ee-81af-ed91520f4dac'
          'mgnl:activationStatus': false
          'mgnl:created': 2020-10-07T13:03:38.650Z
          'mgnl:createdBy': 'superuser'
          'mgnl:lastActivated': 2020-10-07T13:03:38.674Z
          'mgnl:lastActivatedBy': 'superuser'
          'mgnl:lastModified': 2020-10-07T13:03:38.650Z
          'mgnl:lastModifiedBy': 'superuser'
      

      Strip from node and all subnodes:

          'mgnl:activationStatus': false
          'mgnl:lastActivated': 2020-10-07T13:03:38.674Z
          'mgnl:lastActivatedBy': 'superuser'
      

      It's never been activated.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                thuy.to Thuy To
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1d 0.5h
                      1d 0.5h