Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-599

Page preview does not display component when variant is selected

    XMLWordPrintable

Details

    Description

      I'm not sure if this is a problem with the product, the frontend helpers, or the demo project.

      ON the react-minimal SPA demo in https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/browse

      When a component variant is selected in the Page Editor, then the Page Preview and the "Preview as Visitor" feature do not display the component at all.

      To reproduce:

      • Edit a page which haas component variants, such as teh "Personalization" page in the demo.
      • Select the component in the main area.
      • Use the dropdown to switch from "Original" to "Adult"
      • use the "Preview page" action.

      Expected: Normal preview including the component.

      Actual: The component is not displayed at all.

      See video: https://magnolia-cms.slack.com/files/UDET3BAAG/F02KA7W0PQQ/p13n-preview-problem-when-variant_chosen.mov

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                lam.nguyen Lam Nguyen Bao
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 1d
                      1d