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

Content MetaData is not exposed in templates

XMLWordPrintable

      Hi,

      Currently, it appears that content metadata is not exposed in templates. In previous versions the following worked:

      ${content.metaData.creationDate}
      

      However, in 4.5, it looks like the following change in the Content API (as listed at: Changelog - Content API) doesn't allow this to work:

      Magnolia Content class method Equivalent JCR Node method Remarks
      getMetaData() MetaDataUtil.getMetaData(Node)  

      Let me know if you have any questions.

      Cheers,
      Matt

        Acceptance criteria

              fgrilli Federico Grilli
              mderting Matt Dertinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD