1 Reply Latest reply on Oct 23, 2007 7:37 AM by pmuir

    pooledTaskInstanceList and empty GroupActorIds

      Dear all,

      When having a actor with no groupActorIds and you invoke the pooledTaskInstanceList component you get a exception:

      10:43:42,265 ERROR [TaskMgmtSession] org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [
      
      
      
       select distinct ti
      
       from org.jbpm.taskmgmt.exe.PooledActor pooledActor
      
       join pooledActor.taskInstances ti
      
       where pooledActor.actorId in ( )
      
       and ti.actorId is null
      
       and ti.isSuspended != true
      
       and ti.isOpen = true
      
      
      
       ]
      



      The PooledTaskInstanceList does not check if this value is null or empty and passes it directly to the ManagedJbpmContext and thus to the JbpmContext.

      Can this be posted as a bug on SEAM or should it be redirected to JBPM or both?

      A workaround we use is checking if the actor.groupActorIds is empty in the rendered attribute of the dataTable component so the pooledTaskInstanceList is not invoked.

      Please advice.


      Best regards,



      Jo