Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26395

Prevent Nuxeo startup on SQL type mismatch

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10
    • Component/s: Core VCS

      Description

      When the database contains columns of unexpected types, we log an error like

      ERROR [main] [org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper] SQL type mismatch for "hierarchy"."changetoken": expected -5, database has 12 / varchar (250)
      

      But we don't prevent Nuxeo startup, which we should do in strict mode as this type mismatch usually leads to further errors when running.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m