Author: thomas.heute(a)jboss.com
Date: 2008-09-24 09:43:55 -0400 (Wed, 24 Sep 2008)
New Revision: 11966
Modified:
branches/JBoss_Portal_Branch_2_7/build/build-thirdparty.xml
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/PortalObjectPath.java
Log:
JBPORTAL-2165: Portal objects with a name longer than 57 cause javascript error in the
admin portlet
Modified: branches/JBoss_Portal_Branch_2_7/build/build-thirdparty.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/build/build-thirdparty.xml 2008-09-24 13:33:43 UTC
(rev 11965)
+++ branches/JBoss_Portal_Branch_2_7/build/build-thirdparty.xml 2008-09-24 13:43:55 UTC
(rev 11966)
@@ -41,7 +41,7 @@
are pushed to the
http://repository.jboss.com site.
-->
- <componentref name="jboss-portal/modules/common"
version="1.2.1"/>
+ <componentref name="jboss-portal/modules/common"
version="trunk-SNAPSHOT"/>
<componentref name="jboss-portal/modules/web"
version="1.2.1"/>
<componentref name="jboss-portal/modules/test"
version="1.0.3"/>
<componentref name="jboss-portal/modules/portlet"
version="2.0.3"/>
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/PortalObjectPath.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/PortalObjectPath.java 2008-09-24
13:33:43 UTC (rev 11965)
+++
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/model/portal/PortalObjectPath.java 2008-09-24
13:43:55 UTC (rev 11966)
@@ -553,7 +553,7 @@
try
{
byte[] bytes = name.getBytes("UTF-8");
- name = Base64.encodeBytes(bytes);
+ name = Base64.encodeBytes(bytes, Base64.EncodingOption.NOCARRIAGERETURN);
return name;
}
catch (UnsupportedEncodingException e)