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

Fix randomly failing TestSQLRepositoryVersioning.testRestoreToVersion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8-SNAPSHOT
    • Fix Version/s: 5.8
    • Component/s: Tests

      Description

      Failed to restore document SQLDocumentLive(file#456,60233e10-9681-41e1-8bd2-b5ac677bbcf9)
      Stacktrace
      org.nuxeo.ecm.core.api.ClientException: Failed to restore document SQLDocumentLive(file#456,60233e10-9681-41e1-8bd2-b5ac677bbcf9)
      	at org.nuxeo.ecm.core.api.AbstractSession.restoreToVersion(AbstractSession.java:2252)
      	at org.nuxeo.ecm.core.api.AbstractSession.restoreToVersion(AbstractSession.java:2146)
      	at org.nuxeo.ecm.core.storage.sql.TestSQLRepositoryVersioning.testRestoreToVersion(TestSQLRepositoryVersioning.java:322)
      Caused by: org.nuxeo.ecm.core.api.DocumentException: org.nuxeo.ecm.core.storage.StorageException: Could not copy: f3269b6a-020f-4269-888d-3d48d24a8051
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.restore(SQLSession.java:897)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.restore(SQLDocumentLive.java:457)
      	at org.nuxeo.ecm.core.api.AbstractSession.restoreToVersion(AbstractSession.java:2232)
      	... 31 more
      Caused by: org.nuxeo.ecm.core.storage.StorageException: Could not copy: f3269b6a-020f-4269-888d-3d48d24a8051
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCRowMapper.copy(JDBCRowMapper.java:1055)
      	at org.nuxeo.ecm.core.storage.sql.SoftRefCachingRowMapper.copy(SoftRefCachingRowMapper.java:484)
      	at org.nuxeo.ecm.core.storage.sql.PersistenceContext.restoreVersion(PersistenceContext.java:1580)
      	at org.nuxeo.ecm.core.storage.sql.SessionImpl.restore(SessionImpl.java:1122)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.restore(SQLSession.java:895)
      	... 33 more
      Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (MADHATTER.FULLTEXT_PK) violated
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: