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

Implement missing methods for Marklogic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.10-HF19
    • Fix Version/s: 10.10-HF29
    • Component/s: Core MarkLogic
    • Release Notes Summary:
      New methods added to DBS in HF17 are implemented for Marklogic.
    • Backlog priority:
      1,000
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #11

      Description

      Since HF17/HF19 (commit reverted but put back), DBS backends different than MongoDB are missing a specific implementation for new  methods in DBSRepository.

      Hence the default implementation throws a UnsupportedOperationException when these methods are called.

      Caused by: java.lang.UnsupportedOperationException
      at org.nuxeo.ecm.core.storage.dbs.DBSRepository.queryKeyValueWithOperator(DBSRepository.java:218) ~[nuxeo-core-storage-dbs-10.10-HF26.jar:?]
      at org.nuxeo.ecm.core.storage.dbs.DBSCachingRepository.queryKeyValueWithOperator(DBSCachingRepository.java:454) ~[nuxeo-core-storage-dbs-10.10-HF26.jar:?]
      at org.nuxeo.ecm.core.storage.dbs.DBSTransactionState.getChildrenIds(DBSTransactionState.java:364) ~[nuxeo-core-storage-dbs-10.10-HF26.jar:?]
      at org.nuxeo.ecm.core.storage.dbs.DBSSession.getChildrenIds(DBSSession.java:404) ~[nuxeo-core-storage-dbs-10.10-HF26.jar:?]
      at org.nuxeo.ecm.core.storage.dbs.DBSSession.copyRecurse(DBSSession.java:776) ~[nuxeo-core-storage-dbs-10.10-HF26.jar:?]
      at org.nuxeo.ecm.core.storage.dbs.DBSSession.checkIn(DBSSession.java:603) ~[nuxeo-core-storage-dbs-10.10-HF26.jar:?]
      at org.nuxeo.ecm.core.storage.dbs.DBSDocument.checkIn(DBSDocument.java:584) ~[nuxeo-core-storage-dbs-10.10-HF26.jar:?]
      at org.nuxeo.ecm.core.versioning.StandardVersioningService.doCheckIn(StandardVersioningService.java:365) ~[nuxeo-core-10.10-HF27.jar:?]
      at org.nuxeo.ecm.core.versioning.VersioningComponent.doCheckIn(VersioningComponent.java:431) ~[nuxeo-core-10.10-HF27.jar:?]
      at org.nuxeo.ecm.core.api.AbstractSession.checkIn(AbstractSession.java:1821) ~[nuxeo-core-10.10-HF27.jar:?]
      at org.nuxeo.ecm.automation.core.operations.document.CheckInDocument.run(CheckInDocument.java:78) ~[nuxeo-automation-core-10.10-HF25.jar:?]
      

      As Marklogic is still used by one customer, even if deprecated, we need the implementation of these methods.

        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 - 1 hour
                1h