[PAGES-577] Headless personalization not working on the 6.2.17-SNAPSHOT of pages Created: 29/Mar/22  Updated: 04/Jul/22  Resolved: 13/Apr/22

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.17

Type: Bug Priority: Blocker
Reporter: Jaroslav Simak Assignee: Canh Nguyen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1d 5h
Original Estimate: Not Specified

Attachments: PNG File original-is-selected.png    
Issue Links:
Problem/Incident
is caused by PAGES-563 Page editor status uses deprecated me... Closed
Relates
relates to MGNLFE-186 Component variant selection broken on... 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
Date of First Response:
Epic Link: Headless p13n Backlog
Sprint: DevX 8
Story Points: 1
Team: DeveloperX

 Description   

See the discussion: https://magnolia-cms.slack.com/archives/CHTPDA2NA/p1648205019649949

 

Tobias writes: 
i am playing around with the new SPA-renderer in our demo. I just recognized that the component variants select box is not working properly in the current snapshot version of the personalization stuff 2.1.1-SNAPSHOT. Is this a known issue?To be more specific. * The variant creation is working as expected

  • The variants are visible in the select box
  • Changing the variant in the Dialog is no problem
  • But changing the variant does not affect the preview in the editor
  • So i always see the original variant
  • The selected variant stays on “0riginal” (see Screenshot)

We use this three snapshot version to be able to use the the site aware spa-renderer in the sales-demo:

      <dependency>
        <groupId>info.magnolia.pages</groupId>
        <artifactId>magnolia-spa-rendering</artifactId>
        <version>6.2.17-SNAPSHOT</version>
      </dependency>

      <dependency>
        <groupId>info.magnolia.pages</groupId>
        <artifactId>magnolia-site-spa-rendering</artifactId>
        <version>6.2.17-SNAPSHOT</version>
      </dependency>

      <dependency>
        <groupId>info.magnolia.pages</groupId>
        <artifactId>magnolia-pages-app</artifactId>
        <version>6.2.17-SNAPSHOT</version>
      </dependency> 

We added this three modules to the sfcc Demo and after this we saw the same behaviour as in the sales-demo. 

Topher Adds:



 Comments   
Comment by Christopher Zimmermann [ 29/Mar/22 ]

bstaryga KET FYI

Comment by Christopher Zimmermann [ 13/Apr/22 ]

Reopening because:
Hmm, I am still seeing the problem on latest snapshot from nexus.
Im using the React P13n demo from https://git.magnolia-cms.com/projects/demos/repos/minimal-headless-spa-demos/browse

Maybe I am doing something wrong - but I wanted to change the status as I cannot do any more QA now, its not working for me.

Comment by Christopher Zimmermann [ 13/Apr/22 ]

Tried again on a newer version from Nexus and it works!

I would close ticket but I get a Jirablocking message and cannot close it.

Generated at Mon Feb 12 06:20:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.