[PAGES-499] Preview as visitor is not working with External SPA Created: 09/Sep/21  Updated: 18/Oct/21  Resolved: 07/Oct/21

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

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

Issue Links:
Cloners
is cloned by MGNLPN-587 CLONE - Preview as visitor is not wor... Closed
dependency
depends upon PAGES-488 More versatile url property in templa... Closed
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
Epic Link: External SPA
Sprint: HL & LD 37, HL & LD 38, HL & LD 39
Story Points: 3

 Description   

Steps to reproduce

  1.  Create a SPA page or using an existing SPA page e.g: react-minimal
  2.  Run the external and configure external url for SPA page definition
  3. Open the page in preview app

Expected results

Page is shown

Actual results

Page is not rendered, only blank content 

Development notes

Preview app haven't supported for external url. It's always looking for internal url e.g:

http://localhost:8080/magnoliaAuthor/react-minimal.html?mgnlPreviewAsVisitor=true

PreviewSubAppView#setUrl


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