[jboss-jira] [JBoss JIRA] Updated: (JBPORTAL-2331) CMS Modifies URLs
Mike Millson (JIRA)
jira-events at lists.jboss.org
Mon Mar 16 11:29:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBPORTAL-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Millson updated JBPORTAL-2331:
-----------------------------------
Summary: CMS Modifies URLs (was: CMS Preview Screen Modifies URLs)
Workaround Description:
When using workflow:
Disable the CMS Publish/Approve Workflow Service, or, if enabled, do not use the Preview functionality.
When not using workflow:
Do not create urls with spaces in them.
was:Disable the CMS Publish/Approve Workflow Service, or, if enabled, do not use the Preview functionality.
Description:
The issue happens when both workflow is enabled and disabled.
Steps to reproduce with workflow enabled:
1) Select Action "Create" on CMS main page.
2) Create a document with the following content:
FileName: bob.html
Description: bob
Title: bob
Language: English
WYSIGWIG: selected
3) Enter this content:
<a href="images/bob.jpg">Bob</a>
4) Click "Create" button
5) Click "Preview" link
6) Click "Modify/Approve" button
7) Click "text/html" link
8) Unselect WYSIWYG Editor
9) The content now looks like this:
<a href="http://localhost:8080/portal/content/%22images/bob.jpg%22">Bob</a>
Steps to reproduce with workflow enabled:
1) Select Action "Upload" on CMS main page.
2) Populate Description and Title, then select the attached bob.html that includes a url with a space in it:
<a href="/images/bob.jpg?name=Bob Smith">Bob</a>
3) Click "Upload" button
4) Click "text/html" link
5) Unselect WYSIWYG Editor, or click the HTMLbutton, or click the Preview button.
9) The content now looks like this:
<a href="http://localhost:8080/images/bob.jpg?name=Bob%20Smith">Bob</a>
was:
Steps to reproduce:
1) Select Action "Create" on CMS main page.
2) Create a document with the following content:
FileName: bob.html
Description: bob
Title: bob
Language: English
WYSIGWIG: selected
3) Enter this content:
<a href="images/bob.jpg">Bob</a>
4) Click "Create" button
5) Click "Preview" link
6) Click "Modify/Approve" button
7) Click "text/html" link
8) Unselect WYSIWYG Editor
9) The content now looks like this:
<a href="http://localhost:8080/portal/content/%22images/bob.jpg%22">Bob</a>
Workaround: (was: [Workaround Exists])
> CMS Modifies URLs
> -----------------
>
> Key: JBPORTAL-2331
> URL: https://jira.jboss.org/jira/browse/JBPORTAL-2331
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal CMS
> Affects Versions: 2.6.6 Final, 2.7.0 Final
> Reporter: Mike Millson
> Assignee: Sohil Shah
> Attachments: bob.html
>
>
> The issue happens when both workflow is enabled and disabled.
> Steps to reproduce with workflow enabled:
> 1) Select Action "Create" on CMS main page.
> 2) Create a document with the following content:
> FileName: bob.html
> Description: bob
> Title: bob
> Language: English
> WYSIGWIG: selected
> 3) Enter this content:
> <a href="images/bob.jpg">Bob</a>
> 4) Click "Create" button
> 5) Click "Preview" link
> 6) Click "Modify/Approve" button
> 7) Click "text/html" link
> 8) Unselect WYSIWYG Editor
> 9) The content now looks like this:
> <a href="http://localhost:8080/portal/content/%22images/bob.jpg%22">Bob</a>
> Steps to reproduce with workflow enabled:
> 1) Select Action "Upload" on CMS main page.
> 2) Populate Description and Title, then select the attached bob.html that includes a url with a space in it:
> <a href="/images/bob.jpg?name=Bob Smith">Bob</a>
> 3) Click "Upload" button
> 4) Click "text/html" link
> 5) Unselect WYSIWYG Editor, or click the HTMLbutton, or click the Preview button.
> 9) The content now looks like this:
> <a href="http://localhost:8080/images/bob.jpg?name=Bob%20Smith">Bob</a>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list