Details
-
Bug
-
Resolution: Done
-
Critical
-
7.5.1.GA, 7.6.0.GA
-
CR1
-
-
-
-
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
- is related to
-
JBPM-8734 Stunner - Date/Time widget reset time zone value to default for existing notifications
- Resolved
-
RHPAM-2695 Component timer expression contains errors
- Closed