Full Recalc Bugfixes, Logging & FIRST/LAST quality of life updates
-
Fixes #95 by fixing restrictiveness level for RollupEvaluator
-
Tweaks for #88 to fully support automated pipeline
-
Updating
batch
method to properly intake RollupInvocationPoint -
Fix Apex issue where not all code paths were setting CalcItem__c on Rollup__mdt synthetic records
-
Added baseline logging and new
RollupControl__mdt.IsRollupLoggingEnabled__c
field to toggle on/off. In particular, there's an emphasis on providing information in two parts - the "gathering" phase ofRollup
, before it goes async, and the "acting" part ofRollup
, with information about each parent-level item being rolled up. This toggle should only be enabled while testing, as it will balloon your debug log size and negatively impact performance. -
patched holes in current RollupCalculator functionality for full recalculation routes that weren't already covered (so, everything besides average/first/last)
-
Added baseBaseCalculation method in RollupCalculator to deal with the possibility of rollups where the evaluator filters out all calc items necessitating a full recalc - which would not have happened for String and Number-based rollups previously
-
Fixes #97 by properly handling unwriteable fields in recursive check
-
Thanks to @mickster04, who added safe guards when migrating from DLRS (#98)