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

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

Commit cd6a56bb5eb45d7e058c37fe7c64a43182710090 in syncope's branch 
refs/heads/2_1_X from [~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=cd6a56b ]

[SYNCOPE-1338] Do not apply conversion pattern twice during Pull


> Double type conversion applied during pull leads to errors
> ----------------------------------------------------------
>
>                 Key: SYNCOPE-1338
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1338
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.9, 2.1.0
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>            Priority: Major
>             Fix For: 2.0.10, 2.1.1, 3.0.0
>
>
> The fix introduced for SYNCOPE-1306 highlights a problem: during Pull Task 
> execution, the values received as {{ConnectorObject}} are converted into 
> {{AnyTO}}, involving {{MappingManagerImpl#getIntValues}} for the actual 
> conversion.
> Such conversion involves also string values mapped to Date schemas, applying 
> the provided conversion pattern: this is bad, as the conversion pattern is 
> meant to be applied by DataBinder, later in the process.
> The problem is then that the conversion pattern is applied twice to the same 
> values, thus resulting into validation errors.



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

Reply via email to