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

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

      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.

        Acceptance criteria

          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
          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

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

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

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