Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1338

Double type conversion applied during pull leads to errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.9, 2.1.0
    • Fix Version/s: 2.0.10, 2.1.1, 3.0.0
    • Component/s: core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: