Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Roles
Target version:
Start date:
09/05/2018
Due date:
% Done:

100%

Estimated time:
Owner:

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.

Actions #1

Updated by Radek Tomiška over 6 years ago

  • Target version changed from Moonstone (9.1.0) to Morganite (9.2.0)
Actions #2

Updated by Radek Tomiška about 6 years ago

  • Target version deleted (Morganite (9.2.0))
Actions #3

Updated by Vít Švanda about 6 years ago

  • 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)
Actions #4

Updated by Vít Švanda about 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
Strategies [MERGE] and [SET] are in conflict, for attribute ['Rights' - multivalued merge attribute. ] (roles in conflict [VirtualTwo-users] and [VirtualOne-users])!

https://github.com/bcvsolutions/CzechIdMng/commit/126be0463b4f49d51d596ff59b475dd2dc5f496f

Actions #5

Updated by Radek Tomiška about 6 years ago

  • Target version changed from Onyx (9.3.0) to Morganite (9.2.2)
Actions #6

Updated by Ondřej Kopr about 6 years ago

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

Updated by Ondřej Kopr about 6 years ago

  • 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])!
Actions #8

Updated by Vít Švanda about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF