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

DOC: Correct property IDs for cmsfn metadata

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 6.2.1
    • Fix Version/s: None
    • Component/s: core, templating components
    • Labels:
      None

      Description

      The cmsfn documentation lists IDs used to access node metadata.
      https://documentation.magnolia-cms.com/display/DOCS62/cmsfn#cmsfn-Metadata

      At leat one of these is incorrect. Using "ACTIVATION_STATUS" as directed produces a null pointer exception as it is not a property included in the map of names -> node properties.

      See: https://git.magnolia-cms.com/projects/PLATFORM/repos/main/browse/magnolia-core/src/main/java/info/magnolia/cms/core/MetaData.java#171

      Can this please be corrected? "activated" should be used instead of "ACTIVATION_STATUS". I am not sure about the rest.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            chris.jennings Chris Jennings
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: