[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1929) Relative links in CMS content munged by WYSIWYG editor

Martin Putz (JIRA) jira-events at lists.jboss.org
Wed Feb 27 11:10:42 EST 2008


Relative links in CMS content munged by WYSIWYG editor
------------------------------------------------------

                 Key: JBPORTAL-1929
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1929
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal CMS
    Affects Versions: 2.6.4 Final
            Reporter: Martin Putz
         Assigned To: Sohil Shah


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list