[JBoss JIRA] Created: (GTNPORTAL-1348) Login page then username or password is incorrect shown as JSP source code.
by Andrey Parfonov (JIRA)
Login page then username or password is incorrect shown as JSP source code.
---------------------------------------------------------------------------
Key: GTNPORTAL-1348
URL: https://jira.jboss.org/browse/GTNPORTAL-1348
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Gatein under apache web server.
Reporter: Andrey Parfonov
When code in org.exoplatform.web.login.ErrorLoginServlet (line 69)
context.getRequestDispatcher("/login/jsp/login.jsp").include(req, resp);
replaced by
context.getRequestDispatcher("/login/jsp/login.jsp").forward(req, resp);
After that problem is gone. There is now more source code of JSP but HTML
with correct message about wrong password.
NOTE if tomcat used without apache front-end problem not appear (why is not clear)
Using include method looks as not quite correct because headers include
'Content-Type' (it is the core of problem) may not be copied from JSP.
The included servlet cannot change the response status code or headers.
Need complex testing to be sure changes include by forward does not break
anything.
As alternative solution (if forward method is not acceptable in some reason) is
possible to set Content-Type header directly in org.exoplatform.web.login.ErrorLoginServlet
but it looks much worse IMO
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (GTNPORTAL-1651) Edit Portlet dialog - tabs are switched by "mouse click" but dialog buttons are updated on "mouse down"
by Thomas Heute (JIRA)
Edit Portlet dialog - tabs are switched by "mouse click" but dialog buttons are updated on "mouse down"
-------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-1651
URL: https://jira.jboss.org/browse/GTNPORTAL-1651
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Heute
Fix For: 3.2.0-GA
STEPS:
1) open a "Edit Portlet" dialog
(by default "Edit Mode" tab is active)
2) click on one of the other tabs, eg. "Portlet Settings" tab - in this way:
a) push mouse button down (over one of the other tabs)
b) move mouse out of the tab
c) release mouse button
EXPECTED RESULT:
either (A) new tab is selected and "Save and Close" button is shown
or preferably (B) new tab is NOT selected, "Save and Close" button remains hidden
ACTUAL RESULT:
new tab is not selected and "Save and Close" button is shown (it works the same in the other direction)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (GTNPORTAL-599) Having ConcurrentModificationException exception when stopping web server
by Trong Tran (JIRA)
Having ConcurrentModificationException exception when stopping web server
-------------------------------------------------------------------------
Key: GTNPORTAL-599
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-599
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-Beta05
Environment: - Tomcat server
Reporter: Trong Tran
Fix For: 3.0.0-CR01
When i stop Tomcat i have got this :
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at org.exoplatform.web.application.javascript.JavascriptConfigService.removeJavascript(JavascriptConfigService.java:192)
at org.exoplatform.web.application.javascript.JavascriptRemoval.removeJavascript(JavascriptRemoval.java:76)
at org.exoplatform.web.application.javascript.JavascriptRemoval.onEvent(JavascriptRemoval.java:59)
at org.gatein.wci.impl.DefaultServletContainer.safeFireEvent(DefaultServletContainer.java:147)
Also, I have got a similar problem when i try to undeploy the eXoResources.war which contains the Javascripts used in Portal.
the problem seems to be evident that we ismodifing a Collection while iterating over it.
--
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
15 years, 3 months
[JBoss JIRA] Created: (GTNPORTAL-55) NPE when edit portlet in tab page config
by Truong Le (JIRA)
NPE when edit portlet in tab page config
----------------------------------------
Key: GTNPORTAL-55
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-55
Project: GateIn Portal
Issue Type: Bug
Reporter: Truong Le
Fix For: 3.0.0-CR01
java.lang.NullPointerException
at org.exoplatform.portal.webui.application.UIPortlet.getPreferences(UIPortlet.java:799)
at org.exoplatform.portal.webui.application.UIPortletForm.setValues(UIPortletForm.java:266)
at org.exoplatform.portal.webui.application.UIPortletActionListener$EditPortletActionListene
r.execute(UIPortletActionListener.java:754)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecy
cle.java:80)
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecy
cle.java:53)
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:112)
at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java
:100)
at org.exoplatform.web.WebAppController.service(WebAppController.java:147)
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:595)
--
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
15 years, 3 months