Kept old search result when search user with wrong path
-------------------------------------------------------
Key: GTNPORTAL-1514
URL:
https://jira.jboss.org/browse/GTNPORTAL-1514
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Chien Nguyen
When we are using UIUserSelector components (in FindGroupActionListener) with following
steps
# Put right name of group in Group field
# Press Enter ==> show list contain all users in group
re-search:
# Put the wrong name of group in 'Group' field
# Press enter ==> kept old result of past search. requirement is: No user is listed in
the table under
The Exception when put the wrong name of group
17:38:56,046 ERROR [PortletApplicationController] Error while processing action in the
porlet
java.lang.IllegalArgumentException: Group cannot be null
at
org.picketlink.idm.impl.api.query.AbstractQueryBuilder.checkNotNullArgument(AbstractQuery
Builder.java:117)
at
org.picketlink.idm.impl.api.query.UserQueryBuilderImpl.addRelatedGroup(UserQueryBuilderIm
pl.java:144)
at
org.exoplatform.services.organization.idm.UserDAOImpl.findUsersByGroup(UserDAOImpl.java:3
35)
at
org.exoplatform.services.organization.idm.UserDAOImpl.findUsersByGroup(UserDAOImpl.java:5
4)
at
org.exoplatform.webui.organization.account.UIUserSelector$FindGroupActionListener.execute
(UIUserSelector.java:404)
at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
at
org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processDecode(UIFormLifecycle.java:6
4)
at
org.exoplatform.webui.core.lifecycle.UIFormLifecycle.processDecode(UIFormLifecycle.java:4
0)
at org.exoplatform.webui.core.UIComponent.processDecode(UIComponent.java:126)
at
org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processDecode(UIApplicationLi
fecycle.java:46)
at org.exoplatform.webui.core.UIComponent.processDecode(UIComponent.java:126)
at
org.exoplatform.webui.application.portlet.PortletApplication.processAction(PortletApplica
tion.java:166)
at
org.exoplatform.webui.application.portlet.PortletApplicationController.processAction(Port
letApplicationController.java:80)
at
org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerI
mpl.java:558)
at
org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
at
org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
at
org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java
:506)
at
org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatc
her.java:42)
at
org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
at
org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java
:197)
--
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