syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgrosso <...@git.apache.org>
Subject [GitHub] syncope issue #70: [SYNCOPE-1301] fixed
Date Thu, 12 Apr 2018 15:50:15 GMT
Github user ilgrosso commented on the issue:

    https://github.com/apache/syncope/pull/70
  
    > That way replace won't work since it saves first (2 tokens exist.violate UNIQUE constraint)
and deletes next. That way it will only delete the existing one which results in no token
at all.
    
    You are right, but as you can see, in the [current implementation](https://github.com/apache/syncope/blob/master/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/AccessTokenDataBinderImpl.java#L138-L142)
save and delete do not happen under the same conditions.



---

Mime
View raw message