Yep that was it. -- Thanks.
I changed the newEditingContext() it was only false when I sent the email as
I was grasping at straws on the crash. I had both "Cache in Memory" and
"Share objects fetched" set. When I cleared them, things went better. I
suspect ERXEC doesn't like those.
On 11/25/07
eContext = ERXEC.newEditingContext(false);
customers = Customer.fetchAllCustomers(eContext);
Is there anything suspicious with the definition of your Customer
entity? Does it have anything about fetching as shared, or cache-in-
memory, etc? The newEditingContext(false) is a li
Well, I still get duplicates, but I no longer crash when I added:
er.extensions.ERXApplication.useEditingContextUnlocker=true
er.extensions.ERXEC.defaultAutomaticLockUnlock=true
er.extensions.ERXEC.useSharedEditingContext=false
er.extensions.ERXEC.defaultCoalesceAutoLocks=true
to my Properties fi
I've got ERExtensions, ERJars, ERPrototypes, FrontBasePlugin installed. I'm
calling these two lines from the Application constructor after super():
eContext = ERXEC.newEditingContext(false);
customers = Customer.fetchAllCustomers(eContext);
I've changed my _Entity template to use