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

Import NUMBER types from SQL database are always stored as Double

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.7.0
    • 3.6.0
    • 4.5 M5

      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.

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

              Created:
              Updated:
              Resolved: