Category Archives: Bugs

Salesforce Bug in Tests: System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out

I have finally reproduced the bug about “System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out ” error being raised when it should not be raised. It happens when there is a thrown and caught mixed … Continue reading

Posted in Bugs, platform-bug, salesforce | Leave a comment

How to fix Cannot have more than 10 chunks error

Today I’m going to discuss about fix for “System.TypeException: Cannot have more than 10 chunks in a single operation. Please rearrange the data to reduce chunking” error. There are a lot of materials on the web where people suggest solutions … Continue reading

Posted in apex, Bugs, DML, Error, example, Governor Limits, lifehack, Posts in English, record, salesforce | Tagged , , , , , , , , , | 2 Comments

Bugs in Salesforce Spring 15 causing System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out

There are some bugs in Salesforce Spring 15 version causing System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out while the same code was not causing an exception in Winter 15. Let’s consider some minimum steps … Continue reading

Posted in Bugs, Posts in English, salesforce | Tagged , , , | 16 Comments