Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-574

LegacyPageWriter in pages returns empty areas if the endpoint definition not including system properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • 3.0.0
    • None
    • None
    • None

    Description

      Page API from Norsu pages needs "mgnl:type" get areas. If the definition is configured false for includeSystemProperties, "mgnl:type" cannot be returned.

       

      Workaround: set includeSystemProperties to true and systemProperties should be empty or at least has "mgnl:type"

       

      Dev note: "mgnl:type" is a special property, we should treat it like @id, @path, @name. And it will always be bypassed by the property filter.

      Checklists

        Acceptance criteria

        Attachments

          1. hide-nested-content.png
            hide-nested-content.png
            205 kB
          2. json-repsonse.png
            json-repsonse.png
            342 kB
          3. without-page.png
            without-page.png
            213 kB

          Issue Links

            1.
            Implementation Sub-task To Do Unassigned
            2.
            Review Sub-task To Do Unassigned
            3.
            Pre-Integration QA Sub-task To Do Unassigned
            4.
            QA Sub-task To Do Unassigned

            Activity

              People

                oanh.thai Oanh Thai Hoang
                canh.nguyen Canh Nguyen
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1d 1.5h
                      1d 1.5h