Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2793

Stunner - User Task's "Locale" property is missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 7.6.0.GA
    • jBPM Designer
    • Hide
      1. Create a process.
      2. Add a User Task.
      3. Configure a notification.
      4. Configure javaMail session on EAP.
      5. Add a kie-server.war/WEB-INF/classes/userinfo.properties with an entry:
        pamAdmin=rsoares@redhat.com:en-US:PAM\ Admin
        Administrator=rsoares@redhat.com:en-US:Administrator
        Administrators=rsoares@redhat.com:en-US:Administrators:[Administrator]
        
      6. Create a process instance.
      7. Wait until the notification is fired.
      8. Look at the server-logs.

      Actual result

      Server-log contains an error message.

      Expected result

      There are no error messages in server-log.

      Show
      Create a process. Add a User Task. Configure a notification. Configure javaMail session on EAP. Add a kie-server.war/WEB-INF/classes/userinfo.properties with an entry: pamAdmin=rsoares@redhat.com:en-US:PAM\ Admin Administrator=rsoares@redhat.com:en-US:Administrator Administrators=rsoares@redhat.com:en-US:Administrators:[Administrator] Create a process instance. Wait until the notification is fired. Look at the server-logs. Actual result Server-log contains an error message. Expected result There are no error messages in server-log.

    Description

      The Locale property is missing on User Task property list.

      This leads the Notification mechanism to use a default value en-UK hardcoded: https://github.com/kiegroup/jbpm/blob/7.30.0.Final/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/services/task/impl/util/HumanTaskHandlerHelper.java#L165

      If you are using the UserInfo mechanism (userinfo.properties) to provide User's data like email to send notification/reassignments you will get an error.

      Attachments

        Activity

          People

            romartin@redhat.com Roger Martinez
            rafael.soares Rafael Soares
            Lubomir Terifaj Lubomir Terifaj
            Lubomir Terifaj Lubomir Terifaj
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: