Bug 1125079
Summary: | Task status doesn't rollback if exception is thrown from taskService.start() when executing TaskServiceEntryPointImpl#claimBatch() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Lyle Wang <lywang> | ||||||
Component: | jBPM Core | Assignee: | Alessandro Lazarotti <alazarot> | ||||||
Status: | CLOSED EOL | QA Contact: | Marek Baluch <mbaluch> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.0.2 | ||||||||
Target Milestone: | ER4 | ||||||||
Target Release: | 6.1.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2020-03-27 20:00:27 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Lyle Wang
2014-07-31 03:37:39 UTC
For the composite actions such as start/claim now a Composite command is used that guarantees that both actions are executed in a single transaction. Here is the fix in 6.2.x: http://github.com/droolsjbpm/jbpm-console-ng/commit/e6831a81c Created attachment 990417 [details]
reproducer-bpm-suite-6.1.0.ER4.zip
Verified in BPM Suite 6.1.0.ER4. I have attached new reproducer for BPM Suite 6.1.0.ER4 (reproducer-bpm-suite-6.1.0.ER4.zip) as there were several changes necessary: 1.) module structure of jbpm services has changed in 6.1 2.) group 'admin' was changed to 'broker' and then I could see my testing task, because according to Mauricio, 'admin' tasks are filtered in 6.1: (11:55:54 AM) salaboy: avoid using admin if you are not testing anything related with admin things (11:56:29 AM) salaboy: well that could be because the task is being filtered to not show anythign related with admin groups or users 3.) jar containing UserGroupInfoProducer needs to be placed into business-central.war/WEB-INF/lib directory due to new fat war packaging, not into modules. After that I could see the difference, in case of problematic 'root' user the task returned to 'Ready' status instead of wrong 'Reserved' one. Employee 'msalatin' has left the company. |