Project

General

Profile

Actions

Defect #960

closed

Problem with missing batch

Added by Ondřej Kopr about 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Provisioning
Target version:
Start date:
02/12/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

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

Actions #2

Updated by Ondřej Kopr almost 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.

Actions #3

Updated by Radek Tomiška almost 6 years ago

  • Assignee changed from Ondřej Kopr to Radek Tomiška
Actions #4

Updated by Radek Tomiška almost 6 years ago

  • Status changed from New to In Progress
  • Target version set to Jade (8.1.0)
Actions #5

Updated by Radek Tomiška almost 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?

Actions #6

Updated by Vít Švanda almost 6 years ago

  • Assignee changed from Ondřej Kopr to Vít Švanda
Actions #7

Updated by Vít Švanda almost 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 :-).

Actions #8

Updated by Radek Tomiška about 5 years ago

  • Tracker changed from Task to Defect
  • Category changed from 20 to Provisioning
Actions

Also available in: Atom PDF