Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-1514

Kept old search result when search user with wrong path

    Details

      Description

      When we are using UIUserSelector components (in FindGroupActionListener) with following steps

      1. Put right name of group in Group field
      2. Press Enter ==> show list contain all users in group
        re-search:
      3. Put the wrong name of group in 'Group' field
      4. 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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vstorm83 Vu Viet Phuong
                  Reporter:
                  chien.nguyen Chien Nguyen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: