Project

General

Profile

Actions

Defect #514

closed

Transaction - noRollbackOn

Added by Vít Švanda almost 7 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Provisioning
Target version:
Start date:
06/16/2017
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Using annotation @Transactional(noRollbackFor=ProvisioningException.class) is problematic in case, when is call some other service with method marked with @Transactional.
In this case will exception (thorwed in this method) marks transaction as TO ROLLBACK.


Related issues

Related to IdStory Identity Manager - Task #1588: Entity events - transactionsClosedRadek Tomiška03/28/2019

Actions
Has duplicate IdStory Identity Manager - Defect #804: Error in connector or in script is swallowClosedOndřej Kopr11/01/2017

Actions
Actions #1

Updated by Vít Švanda over 6 years ago

  • Target version changed from Diamond (7.4.0) to Emerald (7.5.0)
Actions #2

Updated by Radek Tomiška over 6 years ago

  • Target version deleted (Emerald (7.5.0))
Actions #3

Updated by Radek Tomiška over 6 years ago

  • Has duplicate Defect #804: Error in connector or in script is swallow added
Actions #4

Updated by Radek Tomiška about 5 years ago

  • Related to Task #1588: Entity events - transactions added
Actions #5

Updated by Radek Tomiška about 5 years ago

  • Status changed from New to In Progress
  • Target version set to Quartz (9.6.0)
  • % Done changed from 0 to 70
Actions #6

Updated by Radek Tomiška about 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 70 to 90

Using transactions in provisioning queue was improved:
- Generalize 'ProvisioningException' is not needed (but recommended) - all exception types are saved into queue
- long running tasks, event queue and provisioning queue integration was checked
- logging exception was improved (e.g. password change failures, event processors, prevalidate password ...)

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/e8fc104cf94d7a2f072ee9fd3bc2dc92ce853381

Exception improvement:
https://github.com/bcvsolutions/CzechIdMng/commit/5f46489c02a82e9b8d5e3b3a42c57ee525140275

Could you do a feedback, please?

Actions #7

Updated by Vít Švanda about 5 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I tested it. I tried to many test cause (included exceptions in provisioning, realization of the request ...). Everything works fine. Propagate.NOT_SUPPORTED is new feature for me, but it is interesting approach.
Thanks for that.

Actions #8

Updated by Radek Tomiška about 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF