Hi All,
I am adding some features to a FW/1 ORM app that runs as a plugin inside of Mura. Lately I have been seeing some weird ORM errors and then when I run ORMReload() I get "Association References Unmapped Class".
I can clear the error by going into CFAdmin and clearing the template cache, then OrmReload() works fine. Rather than continuing to have this problem I decided to set saveMapping = true so that I could try to see why this was happening in the .hbxml files.
What I first noticed was that setting saveMapping=true in my plugin's app.cfc didn't work. I had to change the setting in applicationSettings.cfm file. After I got the .hbxml files generated I noticed something strange.
Some of the files have this:
<class entity-name="feetype" lazy="true"
name="cfc:muraWRM.plugins.AMS.model.beans.feetype" table="feetypes">
and some others (in the same "beans" folder") have this:
<class entity-name="contact" lazy="true"
name="cfc:AMS.model.beans.contact" table="contacts">
AMS is the name of the plugin.
I don't understand why this is happening, or if it matters. I really just want to solve the stability issues of this app and I'm wondering if I may be onto something here?
Thanks for any insight you may have.
Seth