You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/14 10:46:12 UTC

[jira] [Commented] (SYNCOPE-272) During sync null attributes from template are considered

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

Hudson commented on SYNCOPE-272:
--------------------------------

Integrated in Syncope-1_0_X #103 (See [https://builds.apache.org/job/Syncope-1_0_X/103/])
    SYNCOPE-272 Sync Task uses only valued attributes of the User Template (Revision 1432844)

     Result = SUCCESS
mdisabatino : 
Files : 
* /syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/util/ConnObjectUtil.java
* /syncope/branches/1_0_X/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java

                
> During sync null attributes from template are considered
> --------------------------------------------------------
>
>                 Key: SYNCOPE-272
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-272
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.5
>            Reporter: Marco Di Sabatino Di Diodoro
>            Assignee: Marco Di Sabatino Di Diodoro
>             Fix For: 1.0.5, 1.1.0
>
>         Attachments: testissueSYNCOPE272.patch
>
>
> During execution of synchronization tasks, all user attributes are considered for update, with values coming from the syncing resource and from evaluated JEXL properties in the user template. 
> If an attribute is not present in the schema mapping of the syncing resource but is present in the user template with null value, the value is cleared and the attribute removed.
> This is not correct: if an attribute of the user template has no value, it must not be considered.
> A test for proving this issue is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira