I have only seen this in MG3 when I get a timeout loading an app for the first time. Usually manually reloading the app with init=true resolves the issue for me. I don't ever recall this happening in MG2. In MG 2, unless I am mistaken, if you tried to load an app for the first time and it timed out, you could simply refresh the page it would attempt to reload itself again, in MG3 it just throws that error.
John -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Raymond Camden Sent: Thursday, December 10, 2009 12:46 PM To: [email protected] Subject: [Model-Glue] Issue with startup 'breaking' MG I've seen this on CFLib a few times now and always thought it was my fault (well, it probably is), but today a user also saw it with LighthousePro, a Model-Glue app. So it still could be my fault, but now that I've seen it in two different code bases, I'm wondering if this is a MG issue. So the issue: You go to your MG app. Something goes wrong, an exception of some sort. You fix the exception and try to hit the site again. But now MG says event page.index doesn't exist. (Or whatever your default event is.) It is as if MG has "loaded" but loaded in a corrupt state. You can fix it easily enough with a reinit, but if your server restarts at night, and if a temporary error occurs, like a timeout for example, than your app is screwed until you hit it with the reinit. Has anyone seen this before? I could probably make a reproducible case by forcing a timeout with a sleep() command. -- 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
