Uploaded image for project: 'Activation'
  1. Activation
  2. MGNLACTIVATION-86

Mixins cannot be activated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.2.5
    • 5.2.4
    • None

    Description

      Variants of existing pages, such as any pages bootstrapped by the demo-project module, cannot be previewed on the public instance. The variants are not served because the hasVariants mixin is missing on public. The public page is also missing the variants icon.

      However, if you create a completely new page and add variants to it, the published page has the mixin and variants can be previewed.

      To reproduce:

      1. Select an existing page such as /demo-project/news-and-events
      2. Create a variant.
      3. Edit the variant. Change the page text.
      4. Choose audience Country=Germany
      5. Preview the variant on the author instance.
        • Expected result: Variant is served when Country=Germany
        • Actual result: Variant is served when Country=Germany
      6. Publish the page and the variant.
      7. Log into AdminCentral on the public instance.
      8. Preview the variant on the public instance.
        • Expected result: Variant is served when Country=Germany.
        • Actual result: Variant is not served when Country=Germany.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rkovarik Roman Kovařík
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD