0

I'm using Apex triggers to rewrite the value of the record. An error occurs and when I try to get the log, the error stops happening. I posted this because the log is unknown and it may take some time to resolve the issue. I would like to know what you think of it.

I am sorry that my English is so bad

2
  • You can avoid the error by adding [system.debug] before the error point, and then add I did.
    – yuta
    Jun 10, 2020 at 7:36
  • Can you please share the relevant code and error message you are getting?
    – tugce
    Jun 10, 2020 at 7:49

1 Answer 1

0

Although I'm not sure without seeing code, this sounds a lot like this known issue which is (finally) going to be addressed in Summer '20.

List.contains() fails to detect element match when input param is an SObject Id field; it succeeds when debug logs are enabled

1
  • This seems to be the cause. Thank you for looking for it. Thank you.
    – yuta
    Jun 11, 2020 at 8:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .