Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-370

Hello SaaS - Issue with navigation in SPA. Norsu data structure from legacy writer is not compatible with old navigation style

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.3.2
    • None
    • None
    • None

    Description

      Note: This should be updated in the Hello SaaS starter project.

      Step to reproduce

      Expectation: See travel and contact in navigation

      Actual: See area navigation instead  

       

      pagenav_v1.yaml definition config example: 

      $type: deliveryEndpoint_v2
      includeSystemProperties: true
      depth: 5
      nodeTypeMappings:
        pages:
          $type: pagesResolver_v2 

       

       

      Reference rest response execute from http://localhost:8080/container/.rest/delivery/pagenav/v1/website/travel response.json

       

      A hint for not showing areas is config includeSystemProperties: false

      Checklists

        Acceptance criteria

        Attachments

          1. real-response-from-pagenav-rest.png
            real-response-from-pagenav-rest.png
            1.06 MB
          2. response.json
            0.4 kB
          3. travel-and-sub-page.png
            travel-and-sub-page.png
            166 kB
          4. travel-navigation.png
            travel-navigation.png
            283 kB

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 2d 6.5h
                      2d 6.5h