Uploaded image for project: 'Content IO'
  1. Content IO
  2. CONTENTIO-200

Import NUMBER types from SQL database are always stored as Double

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.0
    • 3.7.0
    • 4.5 M5

    Description

      SQL number values are casted to Double values and set with the ExternalizableMetadataHelper to Double inside JCR repository but this kind of types can be Long or Double.
      We should use the new synchronization API in BaseSynchroComponent to avoid this kind of problems.

      I discovered it while updating AbstractSQLSCCTestCase._testSyncUser() by using getValue() instead of getMetadataHolder().getLong(). A FIXME has been added.

      NB: It can have impacts on Apogée synchronization.

      Attachments

        Issue Links

          Activity

            People

              cbayle Caroline Bayle
              bmaurel Bérénice Maurel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: