[MGNLFE-139] CLONE - Page preview does not display component when variant is selected Created: 26/Oct/21  Updated: 18/Nov/21  Resolved: 26/Oct/21

Status: Closed
Project: Magnolia Frontend Helpers
Component/s: None
Affects Version/s: 1.1.1
Fix Version/s: 1.1.2

Type: Bug Priority: Critical
Reporter: Lam Nguyen Bao Assignee: Lam Nguyen Bao
Resolution: Fixed Votes: 0
Labels: VN-Implementation, VN-Testing
Remaining Estimate: Not Specified
Time Spent: 1d 7.5h
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLPN-599 Page preview does not display compone... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Epic Link: Headless p13n
Sprint: HL & LD 40

 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

 


Generated at Mon Feb 12 05:44:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.