[MULTISITE-9] CLONE - fckEditor: repository browser doesn't expand to linked node if working on multiple sites from one base domain Created: 27/Nov/13  Updated: 27/Nov/13  Resolved: 27/Nov/13

Status: Closed
Project: Magnolia Multisite Module
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.x

Type: Bug Priority: Major
Reporter: Cheng Hu Assignee: Chunhua Liu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLETK-109 fckEditor: repository browser doesn't... 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
Visible to:
Daniel Kummer, Raphael Joss, Stefan Baur
Epic Link: Support / 4.5.14
Sprint: 4.5.14

 Description   

The problem is, that the links don't get expanded if you request Magnolia via a domain which is not mapped to a sitedefinition.

To reproduce, follow these steps:

Case 1

  1. Visit http://demoauthor45.magnolia-cms.com/.magnolia/pages/adminCentral.html
  2. Verify that in the site definition of demo-project the domain mapping does not equal "demoauthor45.magnolia-cms.com"
  3. On the page /demo-project/about/subsection-articles/article edit a TextImage component and create an internal link to a page of the demo-project
  4. Click OK and save the dialog
  5. Reopen the dialog and edit the previously created link (notice that the prefixHandle got cut out)
  6. Click on "Browse Server"

Result: The tree is not expanded

Case 2

  1. Now verify that in the site definition of demo-project the domain mapping "demoauthor45.magnolia-cms.com" exists!
  2. Reopen the dialog, edit the link and click on "Browse Server"

Result: The tree is expanded, but only if you link to pages of the current website (crossdomain links don't expand the tree)

Can't we just always save the link as absolute URIs without cutting out the handlePrefix like it is done when you select a document from dms instead of a page from website tree?

Chris



 Comments   
Comment by Cheng Hu [ 27/Nov/13 ]

This is a port of the fix for MGNLETK-109 to Magnolia 5 code.

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