-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF16
-
Component/s: Core
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.20
-
Story Points:1
TestNuxeoDriveManager#testGetSyncRootsWithPlacelessDocument shows that DBSSession#getMergedACP returns null on placeless documents, which leads to an NPE. This null ACP is the one contained by the DBSDocument representing the placeless document.
In contrary SQLSession#getMergedACP returns the ACP of the SQLDocumentLive representing the placeless document.
DBSSession#getMergedACP and SQLSession#getMergedACP contain strictly the same code though. (Maybe they could be refactored ?)
The difference is one manipulates an SQLDocumentLive which has an ACP and the other manipulates a DBSDocument with a null ACP