Alberto Bogi created SYNCOPE-1985:
-------------------------------------
Summary: Wrong AnyType labels displayed when creating AnyObject
resource mappings
Key: SYNCOPE-1985
URL: https://issues.apache.org/jira/browse/SYNCOPE-1985
Project: Syncope
Issue Type: Improvement
Components: console
Affects Versions: 4.1.1
Reporter: Alberto Bogi
Fix For: 4.1.2
When creating a new mapping for an *AnyObject* resource in the Syncope Console,
the labels shown in the *AnyType* selection do not match the actual AnyType
that is created.
*Steps to reproduce:*
# Configure multiple AnyTypes, for example:
** REALM
** USER
** GROUP
** ANAGRAFICA
# Open the Syncope Console.
# Edit a Resource and add a new mapping for an {*}AnyObject{*}.
# Open the AnyType selection dropdown.
# Select one of the displayed AnyTypes.
*Current behavior:*
* {{REALM}} and {{USER}} are always displayed correctly.
* Starting from {{{}GROUP{}}}, all {{ANY_OBJECT}} types are sorted
alphabetically in the dropdown, but their labels are associated with the wrong
underlying AnyType.
* For example:
** Selecting *GROUP* creates a mapping for {*}ANAGRAFICA{*}.
** Selecting *ANAGRAFICA* creates a mapping for {*}GROUP{*}.
This suggests that the displayed labels and the underlying AnyType values
become misaligned after the AnyObject types are sorted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)