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
Hi there,
I create 2 LookupRollupSummaries to count lead's activity and get lead's next activity.
They all works well. But my users met this error when they merging leads.
Apex trigger dlrs_LeadTrigger caused an unexpected exception, contact your administrator: dlrs_LeadTrigger: execution of AfterDelete caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, dlrs.RollupSummariesTrigger: execution of AfterInsert caused by: dlrs.fflib_SObjectDomain.DomainException: Permission to **create** an dlrs__LookupRollupSummary__c denied. Class.dlrs.fflib_SObjectDomain.handleAfterInsert: line 174, column 1 Class.dlrs.fflib_SObjectDomain: line 316, column 1 Class.dlrs.fflib_SObjectDomain.triggerHandler: line 271, column 1 Trigger.dlrs.RollupSummariesTrigger: line 30, column 1: []: Class.dlrs.RollupService.updateMasterRollupsTrigger: line 935, column 1
Granting them the default permission set Lookup Rollup Summaries - Process Rollups did not help.
So I cloned it and add create permission to dlrs__LookupRollupSummary__c, and it worked.
My question is, is this correct way to make it work? Why merging needs extra permission?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi there,
I create 2 LookupRollupSummaries to count lead's activity and get lead's next activity.
They all works well. But my users met this error when they merging leads.
Apex trigger dlrs_LeadTrigger caused an unexpected exception, contact your administrator: dlrs_LeadTrigger: execution of AfterDelete caused by: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, dlrs.RollupSummariesTrigger: execution of AfterInsert caused by: dlrs.fflib_SObjectDomain.DomainException: Permission to **create** an dlrs__LookupRollupSummary__c denied. Class.dlrs.fflib_SObjectDomain.handleAfterInsert: line 174, column 1 Class.dlrs.fflib_SObjectDomain: line 316, column 1 Class.dlrs.fflib_SObjectDomain.triggerHandler: line 271, column 1 Trigger.dlrs.RollupSummariesTrigger: line 30, column 1: []: Class.dlrs.RollupService.updateMasterRollupsTrigger: line 935, column 1
Granting them the default permission set Lookup Rollup Summaries - Process Rollups did not help.
So I cloned it and add create permission to dlrs__LookupRollupSummary__c, and it worked.
My question is, is this correct way to make it work? Why merging needs extra permission?
Thank you!
The text was updated successfully, but these errors were encountered: