apex-enterprise-patterns / force-di

Generic DI library with support for Apex, Triggers, Visualforce and Lightning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Platform Cache produces invalid results in certain scenarios

ImJohnMDaniel opened this issue · comments

Report from Matt Comer.

The di_PlatformCache.constructKeyName() method sometimes produces negative values from the .hashcode() function. It also does not filter out double underscore values when the SObject is custom.