core icon indicating copy to clipboard operation
core copied to clipboard

getContentletVersionInfo() has inconsistent behavior

Open austindlawless opened this issue 10 years ago • 2 comments

VersionableFactoryImpl.getContentletVersionInfo(String identifier, long lang) will return a new ContentletVersionInfo with a working inode of 'NOTFOUND' on a cache miss but will return null on a cache hit for an invalid identifier & lang combination. This in conjunction with an empty IdentifierCache will result in unnecessary assets being added to the bundle when Push Publishing when using version 3.2.4.

austindlawless avatar Mar 04 '16 21:03 austindlawless

https://my.dotcms.com/tickets/detail.dot?id=d0a63389-6958-4530-8c63-d77875016c35

levosgien avatar Mar 07 '16 15:03 levosgien

PR: https://github.com/dotCMS/core/pull/8720

jgambarios avatar Mar 07 '16 17:03 jgambarios