projectwonder/wonder — pull request #95 by darkv (2011-12-27 11:37:00+00:00)
Title: ERXEnterpriseObjectCache should not cache objects before migrations have finished

If you have ERXEnterpriseObjectCache objects in your code that are flagged to fetch initial values you can get exceptions if the entity to cache is not yet created in the database. This happens if you prepare some migrations adding new entities that should be cached. During the processing of migrations an editingContextDidSaveChanges notification is sent triggering the object cache to fetch its objects before everything is in place.