Replies: 1 comment
-
|
Hi @Norema9 - I can try to look into this more in the coming weeks to see if there's a way to avoid these kinds of errors. Could you possibly provide me with a small sample Apex trigger that shows how you're creating the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! We have been using a NebulaLogger for a while without any issues. However, when we create a trigger on
Userthat inserts aGroupMember, theLogEntryEventHandler_TestsandLogHandler_Testsfail with aMIXED_DML_OPERATIONerror. It appears that when aloggerScenarioOwneruser is inserted in the test method, it triggers our process that attempts to insert aGroupMember(a setup object) and the test method that tries to insert aLoggerScenario__c(a non-setup object). This results in a DML operation on both setup and non-setup objects in the same transaction.Here is the list of tests involved and where the similar issue occurs:
I wanted to know if there are any upcoming adjustments on your side regarding these tests. Thank you in advance for you assitance !
Cc @angelikagalang
Beta Was this translation helpful? Give feedback.
All reactions