Defect #960
closedProblem with missing batch
100%
Description
We found problem with missing batch for provisioning operation in CzechIdM (same behavior found on production and test server).
We have on test server three record in sys_provisioning_operation with three deffirent ids for sys_provisionin_operation.
Affected version 7.5.3
Updated by Ondřej Kopr over 6 years ago
Today i receive same error and I can probably simulate the error:
org.springframework.orm.jpa.JpaObjectRetrievalFailureException: Unable to find eu.bcvsolutions.idm.acc.entity.SysProvisioningBatch with id dded0fa4-564f-405e-94d4-63bc4f40a61b; nested exception is javax.persistence.EntityNotFoundException: Unable to find eu.bcvsolutions.idm.acc.entity.SysProvisioningBatch with id dded0fa4-564f-405e-94d4-63bc4f40a61b
I started HR process by long running task, the task starts generate new item into provisioning queue during this process starts also long running task for process new item form provisioning operation batch. After both lrt successfully ends I receive the error with missing batch.
The problem is simulate by project with 7.5.3 core version.
Updated by Radek Tomiška over 6 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Updated by Radek Tomiška over 6 years ago
- Status changed from New to In Progress
- Target version set to Jade (8.1.0)
Updated by Radek Tomiška over 6 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 0 to 90
I fixed removing the batch - batch is not removed at all => it's reused for another provisioning of the same entity.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/9b21477d125844ac18d388cdcacbaa728f39630e
Could you do a feedback, pls?
Updated by Vít Švanda over 6 years ago
- Assignee changed from Ondřej Kopr to Vít Švanda
Updated by Vít Švanda over 6 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I did review. I appreciate very defensive and pragmatic solution :-).
Updated by Radek Tomiška over 5 years ago
- Tracker changed from Task to Defect
- Category changed from 20 to Provisioning