Tuyen Nguyen The created GTNPORTAL-3574:
-------------------------------------------
Summary: Unknown error when create a page which have same name with system
node
Key: GTNPORTAL-3574
URL:
https://issues.jboss.org/browse/GTNPORTAL-3574
Project: GateIn Portal
Issue Type: Bug
Reporter: Tuyen Nguyen The
Assignee: Tuyen Nguyen The
Step to reproduce:
- Login as user john (adminstrator)
- goto Site Editor >> Add new page to add new page
- Add new page with name "register" (or name of other system node) under default
node (same level with home node), then continue to input other info
=> When click on Finish button, unknown error is displayed and throw out exception:
{code}
[http-bio-8080-exec-10] ERROR portal:UIPortalApplication - Error during the processAction
phase
java.lang.IllegalArgumentException: Tree register already in the map
at org.exoplatform.portal.mop.navigation.NodeContext.beforeInsert(NodeContext.java:641)
at org.exoplatform.portal.mop.navigation.NodeContext.beforeInsert(NodeContext.java:34)
at org.exoplatform.portal.tree.list.ListTree.insertAfter(ListTree.java:262)
at org.exoplatform.portal.mop.navigation.TreeContext.addChange(TreeContext.java:139)
at org.exoplatform.portal.mop.navigation.NodeContext._add(NodeContext.java:466)
at org.exoplatform.portal.mop.navigation.NodeContext.add(NodeContext.java:370)
at org.exoplatform.portal.mop.user.UserNode.addChild(UserNode.java:277)
at
org.exoplatform.portal.webui.page.UIWizardPageSetInfo.createUserNode(UIWizardPageSetInfo.java:213)
at
org.exoplatform.portal.webui.page.UIPageCreationWizard.saveData(UIPageCreationWizard.java:117)
at
org.exoplatform.portal.webui.page.UIPageCreationWizard.access$100(UIPageCreationWizard.java:74)
at
org.exoplatform.portal.webui.page.UIPageCreationWizard$ViewStep4ActionListener.execute(UIPageCreationWizard.java:399)
at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
at
org.exoplatform.portal.webui.portal.UIPortalComposer$FinishPageEditionActionListener.execute(UIPortalComposer.java:705)
at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:51)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:126)
at
org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
at
org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:126)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
at
org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:792)
at
org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:230)
at
org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:186)
at org.exoplatform.web.WebAppController.service(WebAppController.java:340)
at
org.exoplatform.portal.application.PortalController.onService(PortalController.java:110)
at
org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96)
at org.gatein.portal.installer.PortalSetupFilter.doFilter(PortalSetupFilter.java:72)
at
org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:92)
at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71)
at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:72)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.gatein.web.security.impersonation.ImpersonationFilter.doFilter(ImpersonationFilter.java:84)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:135)
at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:57)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.gatein.security.oauth.webapi.OAuthDelegateFilter.doFilter(OAuthDelegateFilter.java:58)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.gatein.portal.init.PortalCheckInitFilter.doFilter(PortalCheckInitFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:123)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.gatein.sso.agent.tomcat.ServletAccessValve.invoke(ServletAccessValve.java:55)
at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:171)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
{code}
If login with user root and do the same, there is an error message "This name already
exists" when click on next button and we can not continue to do add new page with
current node name.
=> We should check and show error message like when we do with user root.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)