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

Activator metadata is not set correctly when a page is activated

XMLWordPrintable

      We have created some custom reporting functionality, which includes the ability to report upon which pages have been activated by which moderators.
      As part of that, we want to use the mmgnl:activatorId metadata - but it's not being set correctly by the activation code.

      Example:

      This is from the magnolia demo site.

      I created an editor (testEditor), created a page (/demo-project/test) and activated it.
      Then created a moderator (testModerator) and selected proceed from the inbox.
      Then logged in as superuser and did a JCR query on /demo-project/test and got the following:

      /demo-project/test
      /demo-project/test/hideInNav=false
      /demo-project/test/jcr:uuid=d33aedc6-0fbc-4b0d-8986-9da726b8878e
      /demo-project/test/jcr:mixinTypes=mix:lockable
      /demo-project/test/jcr:created=2011-10-20T12:48:17.306+02:00
      /demo-project/test/jcr:primaryType=mgnl:content
      /demo-project/test/MetaData
      /demo-project/test/MetaData/mgnl:activatorid=superuser
      /demo-project/test/MetaData/mgnl:authorid=testEditor
      /demo-project/test/MetaData/mgnl:lastaction=2011-10-20T12:49:12.099+02:00
      /demo-project/test/MetaData/jcr:uuid=c43016b3-34cf-43ad-9b74-40200da26938
      /demo-project/test/MetaData/mgnl:creationdate=2011-10-20T12:48:17.306+02:00
      /demo-project/test/MetaData/mgnl:template=stkSection
      /demo-project/test/MetaData/jcr:created=2011-10-20T12:48:17.306+02:00
      /demo-project/test/MetaData/mgnl:activated=true
      /demo-project/test/MetaData/mgnl:lastmodified=2011-10-20T12:48:41.166+02:00
      /demo-project/test/MetaData/jcr:primaryType=mgnl:metaData
      /demo-project/test/extras
      /demo-project/test/extras/jcr:uuid=44a696d3-5c3c-4e29-b48f-7c4e4ea86a81
      /demo-project/test/extras/jcr:mixinTypes=mix:lockable
      /demo-project/test/extras/jcr:created=2011-10-20T12:48:29.945+02:00
      /demo-project/test/extras/jcr:primaryType=mgnl:contentNode
      /demo-project/test/extras/MetaData
      /demo-project/test/extras/MetaData/mgnl:activatorid=superuser
      /demo-project/test/extras/MetaData/mgnl:lastaction=2011-10-20T12:49:12.100+02:00
      /demo-project/test/extras/MetaData/mgnl:creationdate=2011-10-20T12:48:29.945+02:00
      /demo-project/test/extras/MetaData/jcr:uuid=01227004-56e1-4106-86d9-4d4cb21a47ba
      /demo-project/test/extras/MetaData/jcr:created=2011-10-20T12:48:29.945+02:00
      /demo-project/test/extras/MetaData/mgnl:activated=true
      /demo-project/test/extras/MetaData/jcr:primaryType=mgnl:metaData

        Acceptance criteria

              gjoseph Magnolia International
              rgibson Rory Gibson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD