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

Fix TestDefaultImporterServiceWithMeta on MySQL / MariaDB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Importer, Tests
    • Environment:
      MySQL, MariaDB

      Description

      TestDefaultImporterServiceWithMeta fails on MySQL / MariaDB.

      • org.nuxeo.ecm.platform.importer.tests.TestDefaultImporterServiceWithMeta.testImporterContribution
      • org.nuxeo.ecm.platform.importer.tests.TestDefaultImporterServiceWithMeta2.testImporterContribution
      • org.nuxeo.ecm.platform.importer.tests.TestDefaultImporterServiceWithMetaAndDocType.testImporterContribution
      • org.nuxeo.ecm.platform.importer.tests.TestImportWithMeta.testMDImport

      Example:

      org.nuxeo.ecm.core.api.DocumentNotFoundException: /default-domain/workspaces/import-src-with-metadata
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.resolvePath(SQLSession.java:196)
      	at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:348)
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:953)
      	at org.nuxeo.ecm.platform.importer.tests.TestDefaultImporterServiceWithMeta.testImporterContribution(TestDefaultImporterServiceWithMeta.java:66)
      
      org.nuxeo.ecm.core.api.DocumentNotFoundException: /default-domain/workspaces/import-src/hello.pdf
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.resolvePath(SQLSession.java:196)
      	at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:348)
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:953)
      	at org.nuxeo.ecm.platform.importer.tests.TestImportWithMeta.testMDImport(TestImportWithMeta.java:75)
      

        Attachments

          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 - 15 minutes
                15m