-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 7.4
-
Component/s: Core MongoDB
If a date array is read from the MongoDB database, type conversion is done incorrectly and crashes:
java.lang.ArrayStoreException: java.util.GregorianCalendar at org.nuxeo.ecm.core.storage.mongodb.MongoDBRepository.bsonToState(MongoDBRepository.java:255) at org.nuxeo.ecm.core.storage.mongodb.MongoDBRepository.findAll(MongoDBRepository.java:682) at org.nuxeo.ecm.core.storage.mongodb.MongoDBRepository.queryKeyValue(MongoDBRepository.java:606) at org.nuxeo.ecm.core.storage.dbs.DBSTransactionState.getChildrenStates(DBSTransactionState.java:265)
This happens since NXP-15439 (https://github.com/nuxeo/nuxeo/commit/3510f72919249f1e430162d3339266241c2db47d)
- depends on
-
NXP-15439 MongoDB fixes
- Resolved