Questions tagged [sobjectexception]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
591 views

Cannot update contentDocumentId in contentDocumentLink

I am sharing a file with a task by creating ContentDocumentLink. The LinkedEntityId points to the task record. Now, if a certain update happens to a parent record then i am trying to update only ...
25
votes
3answers
514 views

SObjectException No More. Intentional Change?

I found a pretty surprising change in platform behavior today. Minimum Viable Reproduction (MVR) Script It's simple to reproduce. Just run this script in Execute Anonymous: Account a = [SELECT Id ...
1
vote
1answer
546 views

Invalid field Account for Contact

I have a code snippet that runs like so: Id accountId; public SObject getContact(){ Contact toReturn = new Contact(); toReturn = fillInRequiredValues(toReturn); toReturn.Account = accountId; ...