Ticket #323 (new defect)
Framework changed location in Application Scope
| Reported by: | Elliot Sprehn | Owned by: | DanWilson |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Version: | 3.0.178 | Severity: | major |
| Keywords: | Cc: |
Description
Originally posted by Elliot Sprehn on 5/17/2008 at 1:47 AM: entered by Ezra Parker on port to new system
Previously MG2 and earlier stored the ModelGlue.cfc inside application[ModelGlue_APP_KEY].framework which was very useful when having many applications live inside the same CF application because each sub application could segment it's sub application variables inside application[ModelGlue_APP_KEY] next to the ModelGlue.cfc for the sub application.
Now it seems that the cfc is stored directly in application[ModelGlue_APP_KEY].
There's also the issue of the application[ModelGlue_APP_KEY] already existing due to older applications assuming it's a struct and creating the struct early in the Application.cfc, and then MG3 tries to access .configuration, which doesn't exist, and then MG3 fails to start.
Would it be possible to move the framework back into application[appkey].framework so we can use the APP_KEY to segment off sub app specific variables/components again? Thanks.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)