[JBoss JIRA] (GTNPORTAL-2385) Failure when a node has a long name
by Thomas Heute (JIRA)
Thomas Heute created GTNPORTAL-2385:
---------------------------------------
Summary: Failure when a node has a long name
Key: GTNPORTAL-2385
URL: https://issues.jboss.org/browse/GTNPORTAL-2385
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Heute
the console drop this
15:54:27,115 INFO [STDOUT] Creating a new session of the 'sample-ext'
15:54:31,263 ERROR [PortletApplicationController] Error while rendering the porlet
org.exoplatform.groovyscript.TemplateRuntimeException: Groovy template exception at DataText[pos=Position[col=1,line=117],data= if(node.getResol
vedLabel().length() > 30) label = EntityEncoder.encode(node.getResolvedLavel().substring(0,27) + "...");] for template app:/groovy/portal/webui/component/UIPortalNavigation.gtmpl
at org.exoplatform.groovyscript.GroovyScript.buildRuntimeException(GroovyScript.java:178)
at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:121)
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:119)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:125)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:83)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
at org.exoplatform.webui.core.UIPortletApplication.renderChildren(UIPortletApplication.java:90)
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processRender(UIApplicationLifecycle.java:73)
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processRender(UIApplicationLifecycle.java:31)
.
.
.
.
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
Caused by: groovy.lang.MissingMethodException: No signature of method: org.exoplatform.portal.mop.user.UserNode.getResolvedLavel() is applicable for argument types: () values: []
Possible solutions: getResolvedLabel()
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at UIPortalNavigation.run(UIPortalNavigation.gtmpl:117)
at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:111)
... 225 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (GTNPORTAL-2372) The RPCService is missing in the JCR configuration
by Nicolas Filotto (JIRA)
Nicolas Filotto created GTNPORTAL-2372:
------------------------------------------
Summary: The RPCService is missing in the JCR configuration
Key: GTNPORTAL-2372
URL: https://issues.jboss.org/browse/GTNPORTAL-2372
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Components: JCR integration
Affects Versions: 3.2.0-GA
Reporter: Nicolas Filotto
I've just realized that a required component is missing in the jcr config of GateIn 3.2 which is the RPCService that is used by the JCR in cluster environment to allow cluster nodes to communicate. See below an example of how to configure it:
{code:xml}
<component profiles="cluster">
<key>org.exoplatform.services.rpc.RPCService</key>
<type>org.exoplatform.services.rpc.impl.RPCServiceImpl</type>
<init-params>
<value-param>
<name>jgroups-configuration</name>
<value>${gatein.jcr.jgroups.config}</value>
</value-param>
<value-param>
<name>jgroups-cluster-name</name>
<value>RPCService-Cluster</value>
</value-param>
<value-param>
<name>jgroups-default-timeout</name>
<value>0</value>
</value-param>
</init-params>
</component>
{code}
This should be added in gatein.ear/02portal.war/WEB-INF/conf/jcr/jcr-configuration.xml. More details about it here http://docs.jboss.org/exojcr/1.14.6-GA/developer/en-US/html_single/#Kerne....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (GTNPORTAL-2393) WebUI validator error messages improvements
by Chris Laprun (JIRA)
Chris Laprun created GTNPORTAL-2393:
---------------------------------------
Summary: WebUI validator error messages improvements
Key: GTNPORTAL-2393
URL: https://issues.jboss.org/browse/GTNPORTAL-2393
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.2.0-GA
Reporter: Chris Laprun
Assignee: Chris Laprun
Fix For: 3.3.0.CR01
When create new user and type invalid username you get messages:
1. Only alpha lower, digit, dot and underscore lowercase characters are allowed
for the field "User Name"
2. The field "User Name" must end with a character or digit instead of "T"
In my opinion there should be:
1. Only alpha lower, digit, dot and underscore are allowed for the field "User
Name"
2. The field "User Name" must end with a lower character or digit instead of
"T"
When create new user and type invalid email, corresponding message isn't shown.
It is shown message which says: "0".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months