[
https://jira.jboss.org/jira/browse/JBPORTAL-2165?page=com.atlassian.jira....
]
Wesley Hales commented on JBPORTAL-2165:
----------------------------------------
The encoding function currently used for LEGACY_BASE64_FORMAT on our portal object ids
inserts returns every 76 characters (as per the Base64 standard) for human readability. We
can either modify the MAX_LINE_LENGTH variable in our base64 class in the common module,
or use some other library like Apache Commons Codec which 'supposedly' has the
ability to turn off human readability.
Google search for more info = base64 76 carriage return
Portal objects with a name longer than 57 cause javascript error in
the admin portlet
-------------------------------------------------------------------------------------
Key: JBPORTAL-2165
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2165
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Core Admin
Affects Versions: 2.6.6 Final
Environment: Firefox 3.0, IE 6.0
Reporter: Martin Putz
Assignee: Wesley Hales
Fix For: 2.6.7 Final, 2.7.0 Final
Creating a portal or a portal page with a name longer than 57 characters results in a
javascript error when you try to click on a link for this new object. As a result you
can't administrate the new object.
The object.id of a portal object with a long name (eg.
'thisisalongnameforaportalpagetotestouthowmanycharacters58') contains a line
break, which results in a javascript error 'unterminated string literal'.
--
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