This content has been marked as final.
Show 2 replies
-
1. Re: Crappy Mappings, ie, Crappings
Aegis Kleais Jan 22, 2014 9:31 AM (in response to Aegis Kleais)Well, status update. Even after doing an: applicationStop() and for all practical puposes, killing the application, it seems ColdFusion, the service, holds onto those mappings and caches them. I actually had to RESTART THE COLDFUSION APPLICATION SERVICE to get it to release those mappings, and now I can use the: new model.alpha() syntax as expected.
Sheesh!
-
2. Re: Crappy Mappings, ie, Crappings
BKBK Jan 23, 2014 5:07 AM (in response to Aegis Kleais)You are right: it should work as you expect! Since it fails, this might be an indication that expandPath( '/models/framework' ) and c:\path\to\webroot\models\framework\ are not the same.
To verify, I would test with
<cfset this.mappings[ '/model' ] = "c:\path\to\webroot\models\framework\" />
together with
<cfset myNewAlpha = new model.alpha() />


