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

Copying JCR items should strip activation and modification metadata

XMLWordPrintable

    • Yes
    • Maintenance 52
    • 8

      Reproduce:

      • Open the pages app
      • Copy and paste /travel/tour to create /travel/tour0
      • Export tour0

      Expected:
      The new node tour0 should not contain any metadata related to activation or modification. It should be treated like a brand new node with only a copy of the required content.

      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'
          'mgnl:lastModified': 2020-10-07T13:03:38.650Z
          'mgnl:lastModifiedBy': 'superuser'
      

      It's never been modified and never been activated.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 6d 2h 10m
                    6d 2h 10m