-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.10
-
Component/s: Core MongoDB
Given the document and live proxy:
- /folder/doc
- /folder/proxy -> doc
Trying to remove the folder fails on MongoDB with:
java.lang.ClassCastException: com.mongodb.BasicDBList cannot be cast to [Ljava.lang.Object; at org.nuxeo.ecm.core.storage.mongodb.MongoDBRepository.queryKeyValueArray(MongoDBRepository.java:651) at org.nuxeo.ecm.core.storage.dbs.DBSTransactionState.getSubTree(DBSTransactionState.java:461) at org.nuxeo.ecm.core.storage.dbs.DBSSession.remove(DBSSession.java:803) at org.nuxeo.ecm.core.storage.dbs.DBSDocument.remove(DBSDocument.java:666) at org.nuxeo.ecm.core.api.AbstractSession.removeNotifyOneDoc(AbstractSession.java:1333) at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1303) at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1293) at org.nuxeo.ecm.core.TestSQLRepositoryVersioning.testRemoveProxyTarget(TestSQLRepositoryVersioning.java:1073)