Details
-
Bug
-
Resolution: Fixed
-
Major
-
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:
- Select an existing page such as /demo-project/news-and-events
- Create a variant.
- Edit the variant. Change the page text.
- Choose audience Country=Germany
- Preview the variant on the author instance.
- Expected result: Variant is served when Country=Germany
- Actual result: Variant is served when Country=Germany

- Publish the page and the variant.
- Log into AdminCentral on the public instance.
- 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