[ 
https://issues.apache.org/jira/browse/SYNCOPE-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097075#comment-18097075
 ] 

ASF subversion and git services commented on SYNCOPE-1985:
----------------------------------------------------------

Commit a819bb358fa35c9aa48fa66b1b340a041c7706ac in syncope's branch 
refs/heads/4_0_X from alberto bogi
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=a819bb358f ]

[SYNCOPE-1985] Fix typo in AnyTypeKeyComparator causing incorrect AnyType 
ordering (#1460)

> 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: 3.0.16, 4.0.7, 4.1.2
>            Reporter: Alberto Bogi
>            Assignee: Alberto Bogi
>            Priority: Major
>             Fix For: 4.0.8, 4.1.3, 5.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to