DFA check is catching some of the classes #627
-
We were passing the framework classes through SFDX DFA checks and getting multiple issues. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @mayank-1-2 - great question. Any time a user generates logging data, there are several data points that Nebula Logger automatically queries and stores when creating records in I have not recently tested using |
Beta Was this translation helpful? Give feedback.
Hi @mayank-1-2 - great question. Any time a user generates logging data, there are several data points that Nebula Logger automatically queries and stores when creating records in
Log__c
andLogEntry__c
. This data is intentionally queried usingwithout sharing
because theLogManagementDataSelector
class is typically used by theautomated process
system user, and this system user does not always have access to some data when usingwith sharing
.I have not recently tested using
with sharing
instead, but given that this is a logging tool, it's intended to run behind the scenes with elevated permissions so it can automatically capture extra info, so I think this is a valid time to usewithout…