syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Patricelli (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNCOPE-1472) Resource association is duplicated on database after update, assign or link operations
Date Fri, 17 May 2019 14:26:01 GMT

     [ https://issues.apache.org/jira/browse/SYNCOPE-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrea Patricelli updated SYNCOPE-1472:
---------------------------------------
    Issue Type: Bug  (was: Task)

> Resource association is duplicated on database after update, assign or link operations
> --------------------------------------------------------------------------------------
>
>                 Key: SYNCOPE-1472
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1472
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.13, 2.1.4
>            Reporter: Andrea Patricelli
>            Priority: Major
>             Fix For: 2.0.14, 2.1.5, 3.0.0
>
>
> Executing multiple link or assign or patch (with resource assignment) operartions duplicates
entries in `syncopeuser_externalresource` table.
> For example this code run from [rest client|https://github.com/ilgrosso/syncopeRestClient/tree/SYNCOPE-2_0_X] 
> {code:java}
> for (int i = 0; i < 5; i++) { UserPatch userPatch = new UserPatch(); userPatch.setKey("2c4b5859-f27b-4d84-8b58-59f27bcd8402");
userPatch.getResources().add(new StringPatchItem.Builder().value("pg").build()); userService.update(userPatch);
}{code}
> creates 5 entries in table `syncopeuser_externalresource`.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message