[JBoss JIRA] Created: (GTNPORTAL-645) template error when editing a page preferences
by jerem j (JIRA)
template error when editing a page preferences
----------------------------------------------
Key: GTNPORTAL-645
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-645
Project: GateIn Portal
Issue Type: Bug
Environment: svn version
Reporter: jerem j
* Add the dashboard on the homepage
* logout
* login again with root
* edit the page
* click on "View Page properties"
* click on "save"
* click again on "View Page properties"
you will get:
EVERE: Error during the processAction phase
java.lang.NullPointerException
at org.exoplatform.portal.webui.portal.UIPortalComponent.getTemplate(UIPortalComponent.java:64)
at org.exoplatform.portal.webui.util.PortalDataMapper.toContainer(PortalDataMapper.java:112)
at org.exoplatform.portal.webui.util.PortalDataMapper.toPageModel(PortalDataMapper.java:180)
at org.exoplatform.portal.webui.util.PortalDataMapper.buildModelObject(PortalDataMapper.java:77)
at org.exoplatform.portal.webui.page.UIPageForm.setValues(UIPageForm.java:181)
at org.exoplatform.portal.webui.portal.UIPortalComposer$ViewProperties2ActionListener.execute(UIPortalComposer.java:575)
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:137)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:74)
at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:38)
at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)
at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:115)
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:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: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.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.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.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: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:191)
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:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:637)
--
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
16 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-764) Provide HTML tag that is compliant with all browser when javax.portlet.MimeResponse is used to render "script" element
by Tugdual Grall (JIRA)
Provide HTML tag that is compliant with all browser when javax.portlet.MimeResponse is used to render "script" element
-----------------------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-764
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-764
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: GateIn CR1
FF 3.5
Reporter: Tugdual Grall
The following code:
---
Element jsFile = response.createElement("script");
jsFile.setAttribute("type", "text/javascript");
jsFile.setAttribute("src", request.getContextPath() + "/resources/my-javascript.js");
response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, jsFile);
----
Renders:
<script src="/lab-010-portlet-html-header/resources/my-javascript.js" type="text/javascript" />
On Firefox 3.5 this is buggy, the page is blank.
The only that it is working is
<script src="/lab-010-portlet-html-header/resources/my-javascript.js" type="text/javascript" ></script>
providing non empty elements.
We should change our rendering process to render complete HTML tags
<XXX></XXX>
to be sure we are working with all browsers
--
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
16 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-708) ExoDefaultSecurityTokenGenerator() contains a hard-coded path to the encryption key
by Martin Podolinsky (JIRA)
ExoDefaultSecurityTokenGenerator() contains a hard-coded path to the encryption key
-----------------------------------------------------------------------------------
Key: GTNPORTAL-708
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-708
Project: GateIn Portal
Issue Type: Bug
Components: Common integration
Affects Versions: 3.0.0-CR01
Environment: Deployed into EAP 5.0, Java 1.6, Linux
Reporter: Martin Podolinsky
I've created the directory jboss-as/server/${server-config}/conf/exo-conf supposed to be a place for all exo related stuff. The directory is checked and provided by the org.exoplatform.container.monitor.jvm.J2EEServerInfo helper class. So with the directory created is a gadget encryption key (key.txt) properly generated created by the ExoContainerConfig class and everything looks fine. The problem appears when the ExoDefaultSecurityTokenGenerator comes into play, because it contains a hard-coded key name:
this.containerKey = "key.txt";
so further methods expect the file "key.txt" in the current AS execution directory, although it's generated in the exo-conf.
Exception stack trace:
*******************
11:03:06,742 ERROR [STDERR] java.io.FileNotFoundException: key.txt (No such file or directory)
11:03:06,744 ERROR [STDERR] at java.io.FileInputStream.open(Native Method)
11:03:06,744 ERROR [STDERR] at java.io.FileInputStream.<init>(FileInputStream.java:106)
11:03:06,744 ERROR [STDERR] at org.apache.shindig.common.crypto.BasicBlobCrypter.<init>(BasicBlobCrypter.java:79)
11:03:06,744 ERROR [STDERR] at org.exoplatform.portal.gadget.core.ExoDefaultSecurityTokenGenerator.getBlobCrypter(ExoDefaultSecurityTokenGenerator.java:127)
11:03:06,744 ERROR [STDERR] at org.exoplatform.portal.gadget.core.ExoDefaultSecurityTokenGenerator.createToken(ExoDefaultSecurityTokenGenerator.java:92)
11:03:06,744 ERROR [STDERR] at org.exoplatform.portal.gadget.core.ExoDefaultSecurityTokenGenerator.createToken(ExoDefaultSecurityTokenGenerator.java:122)
11:03:06,744 ERROR [STDERR] at org.exoplatform.portal.webui.application.GadgetUtil.createToken(GadgetUtil.java:119)
11:03:06,744 ERROR [STDERR] at org.exoplatform.portal.webui.application.UIGadget.getMetadata(UIGadget.java:210)
--
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
16 years, 1 month