Hi, I’m trying to retrieve a set of objects that I know to be in the database but always receive varying results. 100% of the time that I run this in debugger mode it works. It only works sometimes when letting my application run on its own but most of the time I get back an empty list. Does anyone have an idea why this might be happening? Cheers, Andrew
Just a shot in the dark: debug and normal do run the same except for maybe a breakpoint that temporarily stops the program?
Tim v Steenbergen
Could you provide a bit more info:
Are you always retrieving the same set of records?
How do you know them to be there?
Are there entity permissions that may prevent retrieval of some records for the logged in user?
Any other info about your troubleshooting?
Some of this info might help to generate some ideas.