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

Import NUMBER types from SQL database are always stored as Double

    • 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.

          [CONTENTIO-200] Import NUMBER types from SQL database are always stored as Double

          Bérénice Maurel made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Caroline Bayle made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Available for review [ 10005 ] New: Resolved [ 5 ]
          Caroline Bayle made changes -
          Sprint Original: 4.5 M4 [ 63 ] New: 4.5 M5 [ 64 ]
          Caroline Bayle made changes -
          Status Original: In Progress [ 3 ] New: Available for review [ 10005 ]
          Caroline Bayle made changes -
          Rank New: Ranked higher
          Caroline Bayle made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Caroline Bayle made changes -
          Rank New: Ranked lower
          Caroline Bayle made changes -
          Story Points Original: 2
          Caroline Bayle made changes -
          Link New: This issue Fait partie de ODF-2153 [ ODF-2153 ]
          Caroline Bayle made changes -
          Rank New: Ranked higher

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

              Created:
              Updated:
              Resolved: