Yes - just one line of code IIRC.
Brian On Thursday, November 8, 2012 11:20:53 AM UTC-8, Dan Wilson - [email protected] wrote: > > That looks right to me. > > Now, is your changes in your app the same changes you sent to me a few > weeks ago? OnQueueComplete, or something like that? > > > DW > > > Brian G <javascript:> > Thursday, November 08, 2012 2:10 PM > > I'm sure you're right! :) > > I want to override gesture/eventrequest/EventContext.cfc with my own > version. Can I do so by redefining this block in my mg.xml? > > <bean id="modelglue.eventContextFactory" > class="ModelGlue.gesture.eventrequest.EventContextFactory"> > <property name="modelGlue"><ref bean="modelglue.ModelGlue"/></property> > <property name="statePersister"><ref > bean="modelglue.statePersister"/></property> > <property name="viewRenderer"><ref > bean="modelglue.viewRenderer"/></property> > <property name="beanPopulator"><ref > bean="modelglue.beanPopulator"/></property> > <property name="logWriter"><ref bean="modelglue.logWriter"/></property> > <property > name="objectPath"><value>ModelGlue.gesture.eventrequest.EventContext</value></property> > </bean> > > I will try your version of MG too later. > > > Brian > > > > On Wednesday, November 7, 2012 8:18:18 PM UTC-8, Dan Wilson - > [email protected] <javascript:> wrote: -- > 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]<javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > Dan Wilson <javascript:> > Wednesday, November 07, 2012 11:18 PM > > I'm pretty sure there is another way to add your change to the framework, > without monkey patching. > > Nearly every cfc used by model Glue is defined in ColdSpring. You can > override the definition in your application specific ColdSpring > configuration. > > I don't know what to tell you about the files I sent. These were exported > directly from SVN and not run through our build process. So there shouldn't > be version info in there. > > I think you should figure out how to get your change out of the MG core > files. It's just going to complicate our troubleshooting. > > DW > Brian G <javascript:> > Wednesday, November 07, 2012 8:47 PM > I did a cursory diff and didn't see anything other than the version > changing? I've monkeypatched my source to support onCompleteEnd in > exceptions... anyway I could see an svn changelog or similar? Or maybe you > could send me your copy from SVN which wouldn't flag every file with a > version number as changed? > > > > On Monday, November 5, 2012 4:57:19 PM UTC-8, Dan Wilson - > [email protected] <javascript:> wrote: -- > 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]<javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > Dan Wilson <javascript:> > Monday, November 05, 2012 7:56 PM > There are some updates in the most recent build. I've not released it yet, > but I'd be curious to see if it has the same issue you are looking at: > > Download a copy here: http://datacurl.com/modelglue/ModelGlueRC.zip > > > > > > -- > Plutarch - "The mind is not a vessel to be filled but a fire to be > kindled." > Brian G <javascript:> > Monday, November 05, 2012 7:04 PM > > Here's one where Model Glue itself wedged. I had 10 users hitting my home > page in JMeter. In another window I ran my ?reinit=true with > reloadBeanFactory set to true: > > What's interesting about this one is that it wasn't a transient error - > Model Glue was stuck in this half-inited state. I had to do another > ?reinit=true to unwedge it. > > > Error Occurred While Processing RequestElement > modelglue.onEventContextCreation is undefined in a CFML structure > referenced as part of an expression. > The error occurred in > *C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\MemoizedModelGlue.cfc: > > line 84* > *Called from* > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\phase\Population.cfc: > > line 42 > *Called from* > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc: > > line 189 > *Called from* > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc: > line 297 > *Called from* > C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm: > line 97 > *Called from* C:\Users\brian\Documents\web\trunk-main\index.cfm: line 82 > 82 : </cfif> > 83 : > *84 : <cfreturn this.eventHandlers[arguments.eventHandlerName] />* > 85 : </cffunction> > 86 : > ------------------------------ > Resources: > > - Check the ColdFusion > documentation<http://www.macromedia.com/go/proddoc_getdoc> > to verify that you are using the correct syntax. > - Search the Knowledge Base<http://www.macromedia.com/support/coldfusion/> > to find a solution to your problem. > > Browser Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, > like Gecko) Chrome/22.0.1229.94 Safari/537.4Remote Address 127.0.0.1 > Referrer > Date/Time 05-Nov-12 01:09 PMStack Traceat > cfMemoizedModelGlue2ecfc201591427$funcGETEVENTHANDLER.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\MemoizedModelGlue.cfc:84) > > at > cfPopulation2ecfc928651586$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\phase\Population.cfc:42) > > at > cfEventContext2ecfc516297268$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:189) > > at > cfModelGlue2ecfc217417458$funcHANDLEREQUEST.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc:297) > > at > cfModelGlue2ecfm217417416.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm:97) > > at > cfindex2ecfm931172590.runPage(C:\Users\brian\Documents\web\trunk-main\index.cfm:82) > > > coldfusion.runtime.UndefinedElementException: Element > modelglue.onEventContextCreation is undefined in a CFML structure > referenced as part of an expression. > at coldfusion.runtime.CfJspPage.ArrayGetAt(CfJspPage.java:919) > at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:930) > at coldfusion.runtime.CfJspPage._arrayGetAt(CfJspPage.java:925) > at > cfMemoizedModelGlue2ecfc201591427$funcGETEVENTHANDLER.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\MemoizedModelGlue.cfc:84) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) > at > cfPopulation2ecfc928651586$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\phase\Population.cfc:42) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) > at > cfEventContext2ecfc516297268$funcEXECUTE.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\eventrequest\EventContext.cfc:189) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) > at > cfModelGlue2ecfc217417458$funcHANDLEREQUEST.runFunction(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfc:297) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) > at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) > at > coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) > at > coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) > at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) > at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) > at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) > at > cfModelGlue2ecfm217417416.runPage(C:\Users\brian\Documents\web\trunk-shared\ModelGlue\gesture\ModelGlue.cfm:97) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) > at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) > at > cfindex2ecfm931172590.runPage(C:\Users\brian\Documents\web\trunk-main\index.cfm:82) > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) > at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) > at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273) > at > coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) > at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) > at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) > at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) > at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) > at > coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) > at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) > at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) > at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) > at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) > at coldfusion.CfmServlet.service(CfmServlet.java:175) > at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) > at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) > at > coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) > at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) > at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) > at jrun.servlet.FilterChain.service(FilterChain.java:101) > at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) > at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > at > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) > at > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) > at > jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > -- > 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]<javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > > -- 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
