You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are reports of several orgs receiving the following error when Customizable Rollups run after the NPSP 3.151 release:
SObject row was retrieved via SOQL without querying the requested field
The pattern seems to be orgs who have modified User Defined Rollups (or standard) in the Customizable Rollup UI (old references are being maintained and while no longer being queried, are still referenced). [See Issue 3945(https://github.com//issues/3945) for original reported issue and Pull Request].
Sample Stacktrace:
Stacktrace available at the time of saving the record - Class.npsp.CRLP_Operation_SVC.doRollupOperation: line 172, column 1 Class.npsp.CRLP_RollupAccount_SVC.processRollups: line 79, column 1 Class.npsp.CRLP_RollupProcessor_SVC.completeRollupForParent: line 303, column 1 Class.npsp.CRLP_RollupProcessor_SVC.startRollupProcess: line 115, column 1 Class.npsp.CRLP_RollupQueueable.runRollupsForIds: line 149, column 1 Class.npsp.CRLP_RollupQueueable.execute: line 73, column 1
--
Steps to Repeat
Create scratch org with previous version of NPSP (3.150)
Create field on Opportunity
Name = Amount This Year
Type = Formula (Currency)
Formula: IF(YEAR( TODAY()), Amount, 0)
Create field on Account
Name = Total Amount This Year
Type = Currency (16,2)
Create User Defined Rollup in NPSP Settings → Donations → User Defined Rollups
Opportunity Field = Amount This Year
Rollup Operation = SUM
Target Object = Account
Target Field = Total Amount This Year
Create Rollup
Enable Customizable Rollups
Inspect the CMT record for that User Defined Rollup. Confirm the following:
Now edit the Rollup using the NPSP Settings User Interface and switch to the following values:
Change Operation to Sum
Change Time Frame to Years Ago and Years Ago to This Year.
Make Sure the Date Field = Close Date
Change the Amount field to Amount
Hit Save.
Inspect the CMT record now and confirm that the values have changed, but that the Opp This Year field is still referenced in Field to Roll Up and Amount Field.
Confirm the following error in NPSP Settings → System Tools → Error Log
SObject row was retrieved via SOQL without querying the requested field: Opportunity.Amount_This_Year__c Rollups State:
--
My full Investigation will be linked to the Work Item.
The text was updated successfully, but these errors were encountered:
There are reports of several orgs receiving the following error when Customizable Rollups run after the NPSP 3.151 release:
SObject row was retrieved via SOQL without querying the requested field
The pattern seems to be orgs who have modified User Defined Rollups (or standard) in the Customizable Rollup UI (old references are being maintained and while no longer being queried, are still referenced). [See Issue 3945(https://github.com//issues/3945) for original reported issue and Pull Request].
Sample Stacktrace:
Stacktrace available at the time of saving the record - Class.npsp.CRLP_Operation_SVC.doRollupOperation: line 172, column 1 Class.npsp.CRLP_RollupAccount_SVC.processRollups: line 79, column 1 Class.npsp.CRLP_RollupProcessor_SVC.completeRollupForParent: line 303, column 1 Class.npsp.CRLP_RollupProcessor_SVC.startRollupProcess: line 115, column 1 Class.npsp.CRLP_RollupQueueable.runRollupsForIds: line 149, column 1 Class.npsp.CRLP_RollupQueueable.execute: line 73, column 1
--
Steps to Repeat
(Regression)
SObject row was retrieved via SOQL without querying the requested field: Opportunity.Amount_This_Year__c Rollups State:
--
My full Investigation will be linked to the Work Item.
The text was updated successfully, but these errors were encountered: