Uploaded image for project: 'Extended Templating Kit (closed)'
  1. Extended Templating Kit (closed)
  2. MGNLETK-109

fckEditor: repository browser doesn't expand to linked node if working on multiple sites from one base domain

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.15
    • None
    • None
    • None
    • 4.5.14

      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

        Acceptance criteria

              chunhua.liu Chunhua Liu
              cbalaguer Christian Balaguer
              Daniel Kummer, Raphael Joss, Stefan Baur
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: