You need to sign in to do that
Don't have an account?
Why does Development mode request another VF page raising used SOQL queries limit above 100
Hi all,
There is a problem I encountered. I came upon a bug, some page couldn't open, and it was working fine last time i looked. It threw System.LimitException for crossing the 100 SOQL limit. When i started digging, i couln't find that anything is changed or working beside usual. Dumping debug lines throughout extensions i figured that the page is being called two times. The main problem was I couldn't figure out why and who is requesting it. After hours spent on this, i finally figured out that actually SF Development mode is requesting page for it self and going through all my code and queries while the another instance of that page is presented to me. That was just enough to call every query twice, breaching the limit for SOQL in one context. I don't think this is desired behaviour as it can slow down development throwing us off the track.
It would be great if someone with more experience shared his view on this. Thanks.
Cheers,
Luka Matovic