Author Archives: patlatus

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

Migrating from PC to Mac

Today is my first day working on the Mac machine. I feel very awkward since I don’t know how to perform basic operations on Mac (I used PC over 15-20 years I think). So I need some cheatsheet to help … Continue reading

Posted in Mac | Leave a comment

In my previous posts I have reported an issue which yields System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out exception where it should not arise. First time I reported this was at February 12, 2015, later … Continue reading

Posted in Uncategorized | 4 Comments

How to switch from Salesforce Lightning Experience to Classic and Back?

Many newbies are asking about this. How to switch from Salesforce Lightning Experience to Classic and Back? This is the video screenshot demonstrating this.

Posted in salesforce | Leave a comment

How to amend not latest commit message in pushed branch

git rebase -i HEAD~3 Replace pick with reword Press Esc then :x! to save and close Change commit message Press Esc then :x! to save and close git push –force origin feature branch

Posted in Git, Uncategorized | Leave a comment

My Aura to LWC migration article is published

My Aura to LWC migration article is finally published on corporate blog I have written this article on February. Also I have prepared the presentation on the same topic for internal knowledge sharing meeting inside a company and also for … Continue reading

Posted in Uncategorized | Leave a comment

Mapping Salesforce Profile Name to Profile Developer API Name

Earlier I have post a question on SSE about how to map Salesforce Profile Name to Profile Developer API Name. Finally I have found solution. While one of the possible point-and-click way is suggested by @user3375426 to create an outbound … Continue reading

Posted in salesforce, Uncategorized | Leave a comment