[JBoss JIRA] Created: (GTNPORTAL-1903) Possible NPE in org.exoplatform.portal.webui.util.Util.getPortalRequestContext()
by Romain Dénarié (JIRA)
Possible NPE in org.exoplatform.portal.webui.util.Util.getPortalRequestContext()
--------------------------------------------------------------------------------
Key: GTNPORTAL-1903
URL: https://issues.jboss.org/browse/GTNPORTAL-1903
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.1.0-GA
Environment: tomcat, webservice call
Reporter: Romain Dénarié
Hi, in method Util.getPortalRequestContext(), I have a null pointer exception.
In fact, I make a webservice call on components above Gatein. Theses components make a call to getPortalRequestContext() without portalContext because of REST.
So this line
{code}context = (WebuiRequestContext)context.getParentAppRequestContext();{code}
throws a NPE.
This exception should be catched and method should return null.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months
[JBoss JIRA] Created: (GTNPORTAL-1869) Chrome - processAction methods are called twice when url is empty in logo portlet
by Michal Vanco (JIRA)
Chrome - processAction methods are called twice when url is empty in logo portlet
---------------------------------------------------------------------------------
Key: GTNPORTAL-1869
URL: https://issues.jboss.org/browse/GTNPORTAL-1869
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: User Interface
Affects Versions: 3.1.0-GA
Environment: EPP5.1.0 GA, GateIn trunk (2011/04/12)
Chrome browser
Reporter: Michal Vanco
Fix For: 3.2.0-GA
This is a very interesting behavior which is happening in Chrome (works fine in FF).
To simulate the issue, put logo portlet on page (with empty URL) and add any simple portlet which calls some processAction method (for example some simple form submit).
What is happening is that action is called properly (for example some value is submitted) and when the page is rendered, same processAction is mysteriously called once more (and null values are sent in params).
Thanks Viliam for help with finding this issue!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months