[JBoss JIRA] Created: (GTNPORTAL-1752) The changes in the portal.xml doesn't take effect unless the database is cleaned up and restart the server.
by Gary Hu (JIRA)
The changes in the portal.xml doesn't take effect unless the database is cleaned up and restart the server.
-----------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-1752
URL: https://issues.jboss.org/browse/GTNPORTAL-1752
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Gary Hu
The default site classic includes the following:
<portlet-application>
<portlet>
<application-ref>web</application-ref>
<portlet-ref>BannerPortlet</portlet-ref>
<preferences>
<preference>
<name>template</name>
<value>par:/groovy/groovy/webui/component/UIBannerPortlet.gtmpl</value>
<read-only>false</read-only>
</preference>
</preferences>
</portlet>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
</portlet-application>
<portlet-application>
<portlet>
<application-ref>web</application-ref>
<portlet-ref>BreadcumbsPortlet</portlet-ref>
</portlet>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
</portlet-application>
Please note that the BannerPortlet contains "preferences" property but the BreadcumbsPortlet doesn't.
To reproduce the issue,
1) log on the EPP 5 as root.
2) go to the classic site
3) under the "Site Editor" click "Edit Layout".
4) click the "Edit Portlet" icon on Banner Portlet, it shows a tab "Preferences". If clicking the "Edit Portlet" icon on Breadcumbs Portlet, it doesn't show the "Preferences" tab.
If you modify the portal.xml to add the "preferences" element it won't take effect until the database is cleaned up and the server is restarted.
<portlet-application>
<portlet>
<application-ref>web</application-ref>
<portlet-ref>BreadcumbsPortlet</portlet-ref>
<preferences>
<preference>
<name>template</name>
<value>system:/groovy/webui/core/UIBreadcumbs.gtmpl</value>
<read-only>false</read-only>
</preference>
</preferences>
</portlet>
<access-permissions>Everyone</access-permissions>
<show-info-bar>false</show-info-bar>
</portlet-application>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] Created: (GTNPORTAL-434) Unknown errror when edit page/layout in Dashboard page in specical case
by Hang Nguyen (JIRA)
Unknown errror when edit page/layout in Dashboard page in specical case
-----------------------------------------------------------------------
Key: GTNPORTAL-434
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-434
Project: GateIn Portal
Issue Type: Bug
Reporter: Hang Nguyen
Steps:
At browser 1:
- login by root
- Go to Dashboard page --> Edit layout --> Edit form appear
At browser 2:
- Go to Dashboard page --> Edit layout --> Delete some portlet ( Logo, Tabbed portlet) --> Finish
Return to browser 1:
- Continue delete portlet --> Unknown error.
java.lang.AssertionError: Could not find supposed present child with id d86a7c95c0a801bc00a0b042093e
1bac
at org.exoplatform.portal.pom.data.Mapper.saveChildren(Mapper.java:637)
at org.exoplatform.portal.pom.data.Mapper.saveChildren(Mapper.java:565)
at org.exoplatform.portal.pom.data.Mapper.save(Mapper.java:339)
at org.exoplatform.portal.pom.config.tasks.PortalConfigTask$Save.run(PortalConfigTask.java:1
61)
at org.exoplatform.portal.pom.config.tasks.PortalConfigTask$Save.run(PortalConfigTask.java:9
8)
at org.exoplatform.portal.pom.config.POMSession.execute(POMSession.java:373)
at org.exoplatform.portal.pom.config.ExecutorDispatcher.execute(ExecutorDispatcher.java:41)
at org.exoplatform.portal.pom.config.TaskExecutionDecorator.execute(TaskExecutionDecorator.j
ava:38)
at org.exoplatform.portal.pom.config.cache.DataCache.write(DataCache.java:80)
at org.exoplatform.portal.pom.config.cache.DataCache.execute(DataCache.java:56)
at org.exoplatform.portal.pom.config.POMSessionManager.execute(POMSessionManager.java:140)
at org.exoplatform.portal.pom.config.POMDataStorage.save(POMDataStorage.java:91)
at org.exoplatform.portal.config.DataStorageImpl.save(DataStorageImpl.java:107)
at org.exoplatform.portal.config.UserPortalConfigService.update(UserPortalConfigService.java
:291)
at org.exoplatform.portal.webui.portal.UIPortalComposer.save(UIPortalComposer.java:180)
at org.exoplatform.portal.webui.portal.UIPortalComposer$FinishActionListener.execute(UIPorta
lComposer.java:369)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:56)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:124)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPorta
lApplicationLifecycle.java:66)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPorta
lApplicationLifecycle.java:30)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:124)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:113)
at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java
:105)
at org.exoplatform.web.WebAppController.service(WebAppController.java:143)
at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(T
hreadLocalSessionProviderInitializedFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentit
yFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilt
er.java:112)
at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
va:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--
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
13 years, 8 months