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

Notification UI produces syntactically incorrect iso expressions:

    XMLWordPrintable

Details

    • CR1
    • -
    • Hide
      1. In Business Central clone the project from repository: https://github.com/mfpc/bugtimer
      2. Deploy the project.
      3. Try to create a new process instance.

      Actual result

      Creating new process instance fails.

      Expected result

      Creating new process instance doesn't fail.

      More information

      02578633 sales force case;

      Secondary issue:

      1. In Business Central create a new business process and add "User Task"
      2. Select the "User Task" and open the properties panel
      3. Add some notifications where task notification definition is "Date and Time" and also pick different timezones from the combo
      4. Click on "OK" to close the modal windows and go back to properties panel.
      5. Select the canvas and then select the "User task"
      6. Go to properties panel and edit the items with different timezones defined.

      Actual result

      The timezone defined for the item is not selected in the combo TimeZone.
      The default timezone is being selected instead.

      Expected result

      The combo TimeZone should be loaded with the timezone set in the model.

      Show
      In Business Central clone the project from repository: https://github.com/mfpc/bugtimer Deploy the project. Try to create a new process instance. Actual result Creating new process instance fails. Expected result Creating new process instance doesn't fail. More information 02578633 sales force case; Secondary issue: In Business Central create a new business process and add "User Task" Select the "User Task" and open the properties panel Add some notifications where task notification definition is "Date and Time" and also pick different timezones from the combo Click on "OK" to close the modal windows and go back to properties panel. Select the canvas and then select the "User task" Go to properties panel and edit the items with different timezones defined. Actual result The timezone defined for the item is not selected in the combo TimeZone. The default timezone is being selected instead. Expected result The combo TimeZone should be loaded with the timezone set in the model.
    • 2020 Week 13-15 (from Mar 23), 2020 Week 16-18 (from Apr 13), 2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25)

    Description

      Notification UI produces syntactically *incorrect* iso expressions:
      When editing nofications with different timezones, the selected timezone is not set to the combo TimeZone.

      ACTUAL BEHAVIOR:

      This UI
      https://ctrlv.cz/mc79
      produces a process which can be compiled and deployed successfully. However, it fails during startup with following error:

      Caused by: java.lang.IllegalArgumentException: Unable to parse duration string: R5/2020-02-07T13:47+02/PT5M : Text '2020-02-07T13:47+02' could not be parsed, unparsed text found at index 16
      at org.jbpm.services.task.impl.util.HumanTaskHandlerHelper.getDeadlineDurationDate(HumanTaskHandlerHelper.java:271)
      at org.jbpm.services.task.impl.util.HumanTaskHandlerHelper.parseDeadlineString(HumanTaskHandlerHelper.java:122)
      at org.jbpm.services.task.impl.util.HumanTaskHandlerHelper.setDeadlines(HumanTaskHandlerHelper.java:75)
      at org.jbpm.services.task.impl.util.HumanTaskHandlerHelper.setDeadlines(HumanTaskHandlerHelper.java:59)
      at org.jbpm.services.task.wih.AbstractHTWorkItemHandler.createTaskBasedOnWorkItemParams(AbstractHTWorkItemHandler.java:195)
      at org.jbpm.services.task.wih.LocalHTWorkItemHandler.executeWorkItem(LocalHTWorkItemHandler.java:67)
      at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:69)
      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.lambda$internalTrigger$0(WorkItemNodeInstance.java:146)
      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.processWorkItemHandler(WorkItemNodeInstance.java:160)
      ... 115 more

      EXPECTED BEHAVIOUR:

      Notification UI should never, under any circumstances, produce syntactically incorrect ISO expressions.

      Attachments

        Issue Links

          Activity

            People

              handreyrc Handrey Cunha
              rhn-support-mpessanh Marcell Pessanha Cruz
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: