[PAGES-293] Preview in Tab' button does nothing - SPA page Created: 27/Apr/20  Updated: 21/Aug/20  Resolved: 06/May/20

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

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Canh Nguyen
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: 0.5d
Time Spent: 1d 5h
Original Estimate: Not Specified

Issue Links:
Cloners
clones PAGES-269 'Preview in Tab' button does nothing Closed
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: SPA Editor
Sprint: HL & LD 1, HL & LD 2
Story Points: 3

 Description   

To reproduce:

Edit a page in Page editor in 6.2 that uses the new SPA renderer (Tested in M6 version of Pages, on CE-demo bundle)

(For example: https://git.magnolia-cms.com/projects/demos/repos/minimal-headless-spa-demos/browse)

(If you open a freemarker page, like the travel demo, this does not happen)

Click "Preview in Tab"

Result

Nothing happens.

No errors in browser console, nothing in server log.

 

Notes

Doing a "view source" on the button. There is no anchor!

<a><span>Preview in tab </span></a>

Wheras for a normal FTL page, the source is:

<a href="http://localhost:8080/magnoliaAuthor/travel.html" target="_blank">
<span>Preview in tab </span>
</a>

 

It looks like PAGES-269 fixed it for regular pages only, but not SPA.

 

 


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