[
https://issues.jboss.org/browse/GTNPORTAL-3537?page=com.atlassian.jira.pl...
]
Trong Tran commented on GTNPORTAL-3537:
---------------------------------------
apparently it can be fixed with following change BUT not sure if it's a complete fix.
{code}
private String uniqueDefinitionName(String portletName, String contentId) {
String unique = portletName.substring(0,Math.min(portletName.length(), 20)) +
String.valueOf(contentId.hashCode());
- String sanitized = sanitizePortletName(unique);
- return sanitized;
+ return unique;
}
{code}
I do think we could completely re-work on this "Import applications". We have
been working back and forth on several issues of this function.
"Import applications" fails
---------------------------
Key: GTNPORTAL-3537
URL:
https://issues.jboss.org/browse/GTNPORTAL-3537
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.9.0.Final
Reporter: Trong Tran
Fix For: 3.9.0.Final
Attachments: juzu-tutorial-examples-gatein.war
"Import applications" fails when the application name is too long AND there are
two portlets with similar name (such as "Weather1" and "Weather2")
I attached the juzu portlets example war which we can use to reproduce the problem.
P/S: I notice that this problem is a regression from GTNPORTAL-3519
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)