From issues at jboss.org Wed Feb 3 02:16:00 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 02:16:00 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Feb 3 02:16:00 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 02:16:00 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Feb 3 02:16:00 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 02:16:00 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2213) Trigger an event when updating User info In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2213 stopped by Hai Nguyen. --------------------------------------------- > Trigger an event when updating User info > ---------------------------------------- > > Key: GTNPORTAL-2213 > URL: https://issues.jboss.org/browse/GTNPORTAL-2213 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Trong Tran > Assignee: Hai Nguyen > Labels: portal-s63, synced > Fix For: 4.x > > > it would help for portlets to know when user profile is updated and handle it correspondingly. > The event name can be something like "UserChange" -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Feb 3 02:16:00 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 02:16:00 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2536) Apache DBBrowser portlet not work properly on GateIn In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2536 stopped by Hai Nguyen. --------------------------------------------- > Apache DBBrowser portlet not work properly on GateIn > ---------------------------------------------------- > > Key: GTNPORTAL-2536 > URL: https://issues.jboss.org/browse/GTNPORTAL-2536 > Project: GateIn Portal > Issue Type: Task > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > > The Apache DBBrowser http://www.apache.org/dyn/closer.cgi/portals/applications/binaries/apa-dbbrowser-war-1.2.war -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Feb 3 02:16:00 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 02:16:00 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2569) Configuration to run test with MySQL In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2569 stopped by Hai Nguyen. --------------------------------------------- > Configuration to run test with MySQL > ------------------------------------ > > Key: GTNPORTAL-2569 > URL: https://issues.jboss.org/browse/GTNPORTAL-2569 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > > Branch development https://github.com/exoportal/gatein-portal/tree/test-mysql-conf -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Feb 3 02:16:00 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 02:16:00 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2713) GateIn doesn't work after reloading AS7 In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2713 stopped by Hai Nguyen. --------------------------------------------- > GateIn doesn't work after reloading AS7 > --------------------------------------- > > Key: GTNPORTAL-2713 > URL: https://issues.jboss.org/browse/GTNPORTAL-2713 > Project: GateIn Portal > Issue Type: Bug > Reporter: Stian Thorgersen > Assignee: Hai Nguyen > Original Estimate: 4 hours > Time Spent: 5 hours > Remaining Estimate: 1 day > > GateIn doesn't work after AS7 has been reloaded (using the management interface). > Stack trace: > {code} > 14:25:48,980 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."gatein.ear".gatein.init: org.jboss.msc.service.StartException in service jboss.deployment.unit."gatein.ear".gatein.init: Failed to start service > at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09] > at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09] > Caused by: org.picocontainer.defaults.DuplicateComponentKeyRegistrationException: Key class org.gatein.integration.wsrp.plugins.AS7Plugins duplicated > at org.exoplatform.container.ConcurrentPicoContainer.registerComponent(ConcurrentPicoContainer.java:237) > at org.exoplatform.container.mc.MCIntegrationContainer.registerComponent(MCIntegrationContainer.java:108) > at org.exoplatform.container.CachingContainer.registerComponent(CachingContainer.java:174) > at org.exoplatform.container.ConcurrentPicoContainer.registerComponentInstance(ConcurrentPicoContainer.java:292) > at org.exoplatform.container.CachingContainer.registerComponentInstance(CachingContainer.java:196) > at org.exoplatform.container.management.ManageableContainer.registerComponentInstance(ManageableContainer.java:220) > at org.gatein.integration.jboss.as7.web.InitService.start(InitService.java:66) > at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > ... 3 more > {code} -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Feb 3 02:20:01 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 02:20:01 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Feb 3 04:20:00 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 04:20:00 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Feb 3 04:20:00 2016 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 3 Feb 2016 04:20:00 -0500 (EST) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026)