On 04/11/2009, at 11:55 AM, Mike Schrag wrote:
committed ... see if this solves your problem.
It doesn't seem to. This is what I'm doing in LSApplication.didFinishLaunching():
if (ERXModelGroup.defaultGroup().modelNamed(AUTH_MODEL_NAME) != null) {
// Read in values for country selector component
readCountrySelectorValues();
LOG.info("LSApplication.didFinishLaunching: Loaded country names");
// Read in values for state selector component
readStateSelectorValues();
LOG.info("LSApplication.didFinishLaunching: Loaded state names");
}
That is, I look for the presence of a particular model, and fetch some EOs from the DB if it's included in this app. If I comment this out, I can't replicate the problem. If I leave it in, it fails in an apparently non-deterministic manner. Am I doing this poorly or in the wrong place (or both)?