-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.1 CE GA2
-
Fix Version/s: 6.1.1 CE GA2
-
Component/s: Asset Framework
-
Labels:None
The method signature in the code delivered both with sources and with bundled version of 6.1.1 VE GA2. This method is fixed in some recent versions..
================
@BufferedIncrement(incrementClass = NumberIncrement.class)
public AssetEntry incrementViewCounter(
long userId, String className, long classPK, int increment)
throws SystemException {
if (!PropsValues.ASSET_ENTRY_INCREMENT_VIEW_COUNTER_ENABLED)
{ return null; }if (classPK <= 0) { return null; }
long classNameId = PortalUtil.getClassNameId(className);
AssetEntry entry = assetEntryPersistence.fetchByC_C(
classNameId, classPK);
if (entry == null)
{ return null; }entry.setViewCount(entry.getViewCount() + increment);
assetEntryPersistence.update(entry, false);
return entry;
}
================