FAILED Manual Testing using the following steps:
- Start liferay tomcat bundle.
- Deploy WSRP plugin.
- Go to Control Panel => WSRP.
- Create Producer with hello world portlet.
- Copy the URL.
- Unzip Gatein-jboss7 and start the bundle. You can download in here (http://www.jboss.org/gatein).
- Login.
- Go to Group => WSRP.
- Create a consumer using the copy URL.
- Go to Group => Administration => Application Registy => WSRP.
- Add the consumer portlet.
- Go to Group Editor => Add New Page.
- Add a new page with the portlet.
- Click save.
Reproduced on:
Tomcat 7.0 + MySQL 5. GateIn-3.5.0.Final-jbossas7. Portal 6.1.20 EE GA2.
Plugins 6.1.20 EE GA2.
Add the portlet to new page cause error message like:
13:59:20,545 ERROR [portal:UIPortlet] (http--127.0.0.1-8080-5) Portlet render threw an exception: org.exoplatform.servic
es.portletcontainer.PortletContainerException: Was expecting a current group Id...
at org.exoplatform.portal.webui.application.UIPortlet.generateRenderMarkup(UIPortlet.java:1028) [exo.portal.webu
i.portal-3.5.0.Final.jar:3.5.0.Final]
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:191) [exo.p
ortal.webui.portal-3.5.0.Final.jar:3.5.0.Final]
at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:54) [exo.po
rtal.webui.portal-3.5.0.Final.jar:3.5.0.Final]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.5.0.
Final.jar:3.5.0.Final]
at org.exoplatform.portal.webui.application.UIPortlet.processRender(UIPortlet.java:954) [exo.portal.webui.portal
-3.5.0.Final.jar:3.5.0.Final]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:291) [exo.portal.webui.framework-3.5.0
.Final.jar:3.5.0.Final]
at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:284) [exo.portal.webui.framework-3.5.0
.Final.jar:3.5.0.Final]
at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source) [:1.6.0_29]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_29]
Fixed on:
Tomcat 7.0 + MySQL 5. GateIn-3.5.0.Final-jbossas7. Portal 6.1.x EE GIT ID: c4ec9b8dfefebf306e7f79f44801ddf3c936e90c.
Plugins 6.1.x EE GIT ID: 810b84d973302aeb7cf5bd1d581f9c92ee61dcf2.
Tomcat 7.0 + MySQL 5. GateIn-3.5.0.Final-jbossas7. Portal 6.2.x GIT ID: 0ab7738c6241c8a1431aa66bcd704d20cedcb3b4.
Plugins 6.2.x EE GIT ID: e90f7b0f8b3c6c4ee1e9990ef4af79ab8887af2a.
Unable to see the error message, when adding the portlet to new page.
Failed on:
Tomcat 7.0 + MySQL 5. GateIn-3.5.0.Final-jbossas7. Portal 6.0.x GIT ID: 8c8082271eb8fc95994b5de71b737f4fbff31676.
Plugins 6.0.x GIT ID: 4b36a1f4ce3326b906e6b41567d7c99c182e57a1.
Same result with affects version. Adding portlet to new page cause the error message.
Hi Michal,
Thank you for your report. I was able to reproduce this issue in 6.0.6 GA. I have also tested on issue on trunk revision 87598 and I was unable to reproduce. This issue should be fixed in the next version of Liferay Portal.
Thanks.