mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'feature-2.4/RM-3285' into 'release/V2.4'
Feature 2.4/rm 3285 Added check not to be able to put null in cache, for nodes that are not records and don't have a filePlan. Added unit test for it. See merge request !128
This commit is contained in:
@@ -430,8 +430,11 @@ public class ServiceBaseImpl implements RecordsManagementModel, ApplicationConte
|
||||
}
|
||||
}
|
||||
|
||||
// cache result in transaction
|
||||
transactionCache.put(nodeRef, result);
|
||||
// cache result in transaction if result is not null
|
||||
if (result != null)
|
||||
{
|
||||
transactionCache.put(nodeRef, result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user