> My theory is that touching the files and running ormReload() causes ACF to forget all it knows and go scrounging around for meta information again, resetting whatever wrongness it knew about before. So that's also consistent with this behavior - I've seen this problem on ACF for years.
Sounds like a good theory thus far. I did take a look and all of my pathings are consistent. The init method actually exists as part of BaseEntity.cfc, and it is nothing more than a simple.
public any function init() {
return this;
}
The entities themselves are never invoked through any other method other than ORM Methods (enityLoad, entityLoadByPK, ORMExecuteQuery etc).
> - Have you got the Save Class Files option in CF enabled?
I do not have access to the CF administrator. This setting is most likely set to whatever the default value is (CF 10).
> - What happens if you choose to persist the .hbmxml files (savemapping setting)
That is a can of worms all of it's own. I haven't tried doing that on my production environment, but on my dev environment I had a really hard time getting the hbmxml files to properly rebuild after an ORMReload call, so I stopped messing with it, deleted the files and went back to the more CF standard way of caching the entity components.
Thanks for the thoughts guys,
Will keep digging around.