Bug 1138412
| Summary: | MortgageApplication process IllegalStateException: We cannot have more than one BAM Task Summary for the task id = 3 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jiri Svitak <jsvitak> | ||||||
| Component: | jBPM Core | Assignee: | Alessandro Lazarotti <alazarot> | ||||||
| Status: | CLOSED EOL | QA Contact: | Marek Baluch <mbaluch> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 6.0.2 | CC: | agiertli, kverlaen, mbaluch, rrajasek, rzhang | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1206667 (view as bug list) | Environment: | |||||||
| Last Closed: | 2020-03-27 20:09:23 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1206667 | ||||||||
| Attachments: |
|
||||||||
|
Description
Jiri Svitak
2014-09-04 18:17:47 UTC
Created attachment 934583 [details]
mortgage.png
The process model view of the flow I tried to achieve. The third task 'increase down payment' cannot be started and throws an exception.
Jiri, is it possible the database contained old information in the database (from previous executions)? I had this in mind. The steps above are reproducible on empty database. I see that I posted in the bug description wrong log lines with 'id = 9'. However that does not matter, the problem remains also on empty database and the attached server log has it right with 'id = 3', which corresponds to third task on empty database. changed applied to ensure that current transaction entities are managed by the listeners that depend on JPA queries. JPA queries will not find current transaction entities due to default (enforced by jbpm/drools persistence logic) flush mode set to COMMIT. That was preventing BAM listener to find the task that was first added and the auto claimed within same transaction and thus creating two entries for the same task. jbpm master: https://github.com/droolsjbpm/jbpm/commit/d7065d5f4b509ac44dfd1bc3b91b058ecc66d308 Verified in BPMS 6.1.0.ER2. |