Given:
- an execution which waits in an user task
When:
- a local variable is created for this task (via task service)
- and another transaction completes this task
Then:
- the local variable is created but the related task doesn't exist anymore
- this leads to an IntegrityContrainstViolationException when the execution is completed / deleted
AT:
- either the variable should not be created or the task should not be deleted
Hints:
- there is no foreign key contraint from variable to task
This is the controller panel for Smart Panels app
Local task variable causes an integrity contraint violation exception when the task is deleted
Given:
- an execution which waits in an user task
When:
- a local variable is created for this task (via task service)
- and another transaction completes this task
Then:
- the local variable is created but the related task doesn't exist anymore
- this leads to an IntegrityContrainstViolationException when the execution is completed / deleted
AT:
- either the variable should not be created or the task should not be deleted
Hints:
- there is no foreign key contraint from variable to task