Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-311

'name' property on Model is not returned as content, only as metadata

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • None
    • None

    Description

      On a norsu contenttype based app, if the model has a property called 'name', the field is displayed as expected in the editor subapp. But the delivery endpoint does not deliver a 'name' property, it only delivers a '@name' property in the '@metadata' node.

      Expected:

      name property exists in main content..

      On JCR-based contenttype, the rest response includes both a metadata (the jcr @name) and the actual content.

      Actual:

      name property does not exist in main content. '@name' property in the '@metadata' node.

       

      Note: 

      On JCR content and delivery endpoint, there is a "name" property and a "@name" metadata property.

      See comparison here: https://wiki.magnolia-cms.com/display/PMTEAM/Test+Norsu+Contenttype+and+Delivery+endpoint#TestNorsuContenttypeandDeliveryendpoint-CompareNorsuandJCRresponseforContentType

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                canh.nguyen Canh Nguyen
                czimmermann Christopher Zimmermann
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD