Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2733

Groupassignment doesn't work in the gwt console

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Patch
    • Resolution: Done
    • Major
    • None
    • 5.1.0.FINAL
    • drools-process
    • Medium

    Description

      Groupassignment doesn't work in the GWT-console, because handle of the groupassignment is missing from source. I visited this problem and I found that GWT-console always call the getTasksAssignedAsPotentialOwner(idRef, "en-UK", responseHandler) function without groupIds (in DroolsFlowTaskManagement.java).
      So I never get task list of the groups.

      I fixed this problem. If I start the jboss server with ant (drools installer created the install directory, where I can use ant for starting system) under install directory, then my solution will read the roles.properties file and store the user's role in hashmap.

      The modified function call is look like:
      getTasksAssignedAsPotentialOwner(idRef, Arrays.asList(groupListMap.get(idRef).split(",")), "en-UK", responseHandler)

      This solution only work with roles.properties file, which contains all user's roles.

      I've attached the patch.

      Attachments

        1. drools_gwt_console.patch
          3 kB
        2. DroolsFlowTaskManagement.patch
          4 kB
        3. HumanTaskCustomEditor.patch
          2 kB
        4. HumanTaskNodeWrapper.patch
          1 kB
        5. org.drools.eclipse_5.1.0.jar
          6.44 MB
        6. org.drools.eclipse_5.1.1.jar
          6.42 MB

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            vcsaba80 Csaba Vizsnyai (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty