Red Hat Bugzilla – Bug 843469
HT Deadlines are not cancelled on task completion
Last modified: 2018-06-09 17:28:46 EDT
Description of problem:
Human task deadlines are not cancelled when task is finished in any way:
This causes a notification to be send out even after the task has been completed.
Version-Release number of selected component (if applicable): 5.3.0.GA
Steps to Reproduce:
(abbreviated steps, see test for full procedure)
1. Register a notification handler
2. Create a task with a deadline
3. Complete the task with the deadline
4. Retrieve the task information (or other task server operation involving the task)
5. There should be no more notifications.
See this test, and all tests under it:
Notifications (such as e-mails) are sent even after the task has been completed, skipped or failed.
Notifications should stop as soon as the task has been completed/skipped or failed.
This fix (2 commits) was committed today to the community 5.2.x branch:
525e264 2012-07-31 | BZ-843469 JBPM-3661 HT Deadlines are not cancelled on task completion - removed deadlines from db on completion and added async tests (modified cherry pick from commit 2b03575ca52ca79a6b54682a3140f4ac5cf1ac8b) (HEAD, upstream/5.2.x, 5.2.x) [Maciej Swiderski]
d92cd8b 2012-07-31 | BZ-843469 JBPM-3661 HT Deadlines are not cancelled on task completion (modified cherry pick from commit 5181ddf84ddf718727f3a55f7715b8416bfe4baf) [Maciej Swiderski]
The fix has landed in bug 843917 roll-up patch.