Uploaded image for project: 'Magnolia Demo Projects'
  1. Magnolia Demo Projects
  2. MGNLDEMO-266

Broken diff in demo with personalized component

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.2.2
    • None
    • None
    • None
    • Basel 132, Basel 133
    • 2

    Description

      Steps to reproduce the problem:

      1. go to Pages
      2. publish travel
      3. edit the page
      4. add a component to the main area
      5. go back to Pages
      6. click 'Compare to previous version'
      7. the diff is completely broken

      Steps to fix the problem:

      The broken diff view can be resolved by changing how component variants are composed on travel home. Delete the Featured Tours by Tour Type component and make it a variant of Tour Type Teaser Row:

      1. Delete component 01 in the main area.
      2. In component 00, change variant-1's template to Featured Tours (by TourType) and set variant audience to Cookie: Tour type = any value. NoSuchDefinitionException error is thrown when you try to change the variant's template to Featured Tours (by TourType). This needs to be fixed.
      3. Verify that the page layout still works.

      Caveat: The proposed solution fixes the problem on travel demo home page. It does not prevent a customer from potentially composing the same problematic component scenario on their own site.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD