Eymard, You might not want to leave your monkey patches in the Model-Glue framework. The updates mentioned in this thread are rolled into the SVN trunk. Please update your code from there and you'll not have compatibility issues in the future.
DW On Wed, Sep 23, 2009 at 12:00 PM, cfcoderphil <[email protected]>wrote: > > Thanks! I have the same error when I upgrade one of my personal site > today (9/23/2009) and fixed it by adding the try/catch block on > "\ModelGlue\gesture\loading\ColdSpringBootstrapper.cfc" AND "\ModelGlue > \gesture\module\XMLModuleLoader.cfc" files. > > Regards, > > Eymard > > > On Sep 18, 6:44 am, Chris Blackwell <[email protected]> wrote: > > Ok, > > When ModelGlue loads it attempts to see if certain config files exist > based > > on a relative path before calling expandpath() and trying again, for > example > > > fileExists("/ModelGlue/gesture/configuration/ModelGlueConfiguration.xml"). > > > > It would appear that on certain platforms with sandbox security enabled > this > > will throw an error rather than returning false. The solution is to > > try/catch these attempts. > > > > The culprits are ModelGlue/gesture/loading/ColdSpringBootstrapper.cfc > > and ModelGlue/gesture/module/XMLModuleLoader.cfc > > > > I have attached patches for these files which should resolve the issue. > > > > Cheers, Chris > > > > ColdSpringBootstrapper.cfc.diff > > 2KViewDownload > > > > XMLModuleLoader.cfc.diff > > 1KViewDownload > > > -- “Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew.” Guillaume Apollinaire quotes --~--~---------~--~----~------------~-------~--~----~ Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en -~----------~----~----~----~------~----~------~--~---
