bgriffin-zenhub / core

Source Code for dotCMS Java Enterprise Content Management System
http://dotcms.com
GNU General Public License v3.0
0 stars 0 forks source link

[CLOSED] getContentletVersionInfo() has inconsistent behavior #183

Open brentgriffin opened 8 years ago

brentgriffin commented 8 years ago

Issue by austindlawless Friday Mar 04, 2016 at 21:12 GMT Originally opened as https://github.com/dotCMS/core/issues/8719


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.

brentgriffin commented 8 years ago

Comment by levosgien Monday Mar 07, 2016 at 15:30 GMT


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

brentgriffin commented 8 years ago

Comment by jgambarios Monday Mar 07, 2016 at 17:32 GMT


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