Task #1240
closed
Better info message when attribute strategies are in conflict
Added by Peter Štrunc over 6 years ago.
Updated about 6 years ago.
Description
When there are multiple roles filling value into same attribute and strategies in those roles are not the same (MERGE vs AUTHORITATIVE_MERGE), only this error message is displayed:
Provisioning - Attribute strategy conflict
Strategies [MERGE] and [AUTHORITATIVE_MERGE] are in conflict for attribute [destinationIndicator]!
The aim of this ticket is to provide more informative message, which eould tell the user which roles have which strategies.
- Target version changed from Moonstone (9.1.0) to Morganite (9.2.0)
- Target version deleted (
Morganite (9.2.0))
- Status changed from New to In Progress
- Assignee changed from Radek Tomiška to Vít Švanda
- Target version set to Onyx (9.3.0)
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- Target version changed from Onyx (9.3.0) to Morganite (9.2.2)
- Assignee changed from Radek Tomiška to Ondřej Kopr
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Vít Švanda
- % Done changed from 0 to 100
Its work correctly, newly messages contains two conflict roles. If between roles are more conflict mapping it will be show after you solve the first one.
I little bit refactored your code :D I'm Radek now! Commit: https://github.com/bcvsolutions/CzechIdMng/commit/391cef339a09613c154230af120dab49908a2dfd (branch develop)
eu.bcvsolutions.idm.acc.exception.ProvisioningException: Strategies [MERGE] and [SET] are in conflict, for attribute [EAV_ATTRIBUTE] (roles in conflict [role name 050] and [role name 049])!
- Status changed from Resolved to Closed
Also available in: Atom
PDF