Files
alfresco-community-repo/repository
Eva Vasques c1ee9467c8 MNT-24641 Avoid duplicate key error on content upload (#2984) (#2986)
MNT-24641 Avoid duplicate key error on content upload (#2984)

* On createOrGetByValue in EntityLookupCache, also cache by value
* Created getCachedEntityByValue that attempt to retrieve the value only from cache
* On attempt to create content URL, first check cache before attempting to create in the database avoiding a duplicate key

(cherry picked from commit f4103c242f)

* Pre-commit formatting
* Fix EntityLookupCacheTest
2024-10-10 19:08:46 +01:00
..