[MGNLEE-673] Preview button in pages edit mode results in mixed content https/http Created: 08/Dec/21  Updated: 08/Dec/21

Status: Open
Project: Magnolia DX Core
Component/s: None
Affects Version/s: 6.2.12
Fix Version/s: None

Type: Bug Priority: High
Reporter: Ilja Rathgen Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

magnolia-module-multisite 2.1.1
magnolia-site-app 1.4.2


Attachments: XML File config.modules.multisite.config.sites.ch.i18n.xml    
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

 Description   

Steps to reproduce

  1. multisite setup using a site config with multiple languages (this case three)
  2. open page in pages app with edit page
  3. press preview button in left context menu
  4. try to change language with dropdown lower right

Expected results

  • preview version of page like when using preview in tab button
  • language dropdown changes language

Actual results

  • console error in browser:

Mixed Content: The page at 'https://dev.rittal.com/author/.magnolia/admincentral#app:pages-app:detail;/ch/Services/Service-Portfolio:view' was loaded over HTTPS, but requested an insecure frame 'http://dev.rittal.com/author/ch-de/Services/Service-Portfolio?true=mgnlPreview&desktop=mgnlChannel'. This request has been blocked; the content must be served over HTTPS.

  • this only happens on pages/sites with more than one language present
  • language change does not work

Workaround

  • use preview in tab button

Development notes

  • multisite setup
  • language site setup see in attached xml

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