Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.6.4 Final
    • Fix Version/s: 2.6.6 Final
    • Component/s: Portal CMS
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      The TinyMCE docs [1] contain a description of a flag that influences the url munging: by setting 'convert_urls : "false"' in the jsp pages that initialize tinyMCE, this behavior can be changed.

      [1] http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/convert_urls

      Show
      The TinyMCE docs [1] contain a description of a flag that influences the url munging: by setting 'convert_urls : "false"' in the jsp pages that initialize tinyMCE, this behavior can be changed. [1] http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/convert_urls

      Description

      Relative links defined in CMS content are munged by the WYSIWYG editor, which results in incorrect links if multiple CMS instances are used on different portals.

      For instance, the default content has a link from 'default/index.html' to 'default/support.html'. In the original file jboss-portal.sar/portal-cms.sar/portal/cms/conf/default-content/default/index.html, this link is defined as
      <a href="default/support.html">Explore</a>

      This is fine, as it works correctly, even if I have a second CMS instance on another portal.

      As soon as I open the file in the CMS admin portlet, however, this link is changed to
      <a href="/portal/content/default/support.html">Explore</a>

      which is problematic, as it always opens up this CMS content inside the default portal.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                soshah Sohil Shah
                Reporter:
                mputz Martin Weiler
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: