[PAGES-533] Preview in Tab not working in external SPA Created: 10/Nov/21  Updated: 16/Feb/22  Resolved: 03/Dec/21

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

Type: Bug Priority: Major
Reporter: Robert Šiška Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: VN-Analysis, VN-Testing
Remaining Estimate: 0d
Time Spent: 1.5d
Original Estimate: Not Specified

Attachments: PNG File Bildschirmfoto 2022-02-16 um 10.03.14.png    
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: External SPA
Sprint: HL & LD 41
Story Points: 3

 Description   

Steps to reproduce

Open externally hosted SPA and click Preview in Tab button.

Expected results

A new window with external URL is opened.

Actual results

Nothing happens.

Comment

Preview in Tab is bound to navigationContext, but External Page Editor is not communicating onNavigation event at all.

Wiring the onNavigation through postMessages correctly could solve the issue and also let us get rid of the workaround in PageEditorPresenter:onElementSelect.



 Comments   
Comment by Pierre Sandrin [ 16/Feb/22 ]

Hi Robert

We experience the Problem that the Preview in tab button is not working on 6.2.16 where it is working on 6.2.11. The issue says it should be the other way round (not working on 6.2.11 and fixed on 6.2.13+)

We also have a external SPA running and there is no href on the button. Please check the attached sceenshot! Is this the same issue? How could we fix it? Should we open a Support Ticket (it is a DX-Core project).

 

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