Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-922

LegacyPageWriter ignores page properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.3.0
    • 6.3.0
    • None
    • None

    Description

      Steps to reproduce

      1. Add custom field to a page dialog:
        form:
          properties:
            ...
            customField:
              $type: textField
        
      1. Add a page with this dialog
      2. Set a value to the text field
      3. Save.
      4. Request the page 
        http://localhost:8080/container/.rest/environments/main/delivery/pages/v1/sample-page?subid_token=...

      Expected results

      The value of the customField is returned in JSON response

      Actual results

      Page properties are ignored (areas and components are present). 

      Workaround

      Modify LegacyPageWriter.

      Development notes

      I'm not sure if LegacyPageWriter is a final impl as I was using a feature branch. Feel free to close the ticket and link an existing fix/replacement for this class.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                canh.nguyen Canh Nguyen
                rkovarik Roman Kovařík
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1.75d
                      1.75d