Alex, I think it's a lot more involved than dropping <cfcontent reset="true" /> onto a page. I'm not sure how much more information I could give at this point. Before sending this email I want as far into the MachII framework as i could to see if something would send me in a clear direction as to what changed. So far I've hit a wall but I continue to investigate. I sent the sample application in hopes that someone from the OpenBD team would see the error and that would make a development lightbulb go off. I'll continue to dig into this and update this thread when/if I have more to go on.
On Wed, Nov 16, 2011 at 2:40 PM, Alex Skinner <[email protected]> wrote: > Would be useful to create a more focused test case are you saying that > given > > foo.cfm > > where it contains > > (Without the XML style closing tags which personally i find annoying and > also risky as they cause CFML custom tags to execute twice, its not XML > grumble :) ) > > A line of text > <cfcontent type="reset"> > Foo bar > > > In this case we expect to just see Foo bar outputted, however in your case > it errors ? Is it that simple ? It would help if you can isolate it down a > bit ? > > Alan am I correct that there was a bit of stuff done in Open BD 2.0 > release relating to supporting the following > > <cfset GetPageContext().getCFOutput().clear()> > > Or am i dreaming I read that somewhere ? > > Thanks > > Alex > > > > > > On 16 November 2011 19:29, Peter J. Farrell <[email protected]> wrote: > >> ** >> Just to add to this thread -- we don't use ANY cfflush in M2. >> >> >> Derrick Jackson said the following on 11/16/2011 01:26 PM: >> >> Hi folks, >> >> I recently started a new Mach-II application using MachII 1.9 BER >> (7/8/11) and OpenBD 2.0. I've use previous versions of OpenBD with this >> version of M2 with no issues. Here's what happens. >> >> When using the Mach-II Dashboard or Caching with OpenBD 2.0 the following >> error is generated: *Cannot reset response buffer error* >> >> Here is a link to a simple application: >> http://dl.dropbox.com/u/4173946/M2OpenBD20.war >> >> Out of the box, this application should work with no problem >> whatsoever. However if you open the MachII config file and remove the >> comments from around the Dashboard module or the Caching Property the error >> mentioned above will be generated. Peter Farrell suggested that i remove >> the <cfcontent reset="true" /> from line 167 of this file >> /MachII/bootstrapper/common.cfm. That does in fact fix the problem for >> caching and the dashboard but causes the HTML Helper Property to throw the >> following error: *Unable to add text to HTML <head> tag because the >> page has been flushed* >> >> Please let me know if you need more information. >> >> Thanks >> Derrick >> >> >> >> -- >> Peter J. >> [email protected]@maestropublishing.comhttp://blog.maestropublishing.com >> Identi.ca / Twitter: @maestrofjp >> >> -- >> official tag/function reference: http://openbd.org/manual/ >> mailing list - http://groups.google.com/group/openbd?hl=en >> > > > > -- > Alex Skinner > Managing Director > Pixl8 Interactive > > Tel: +448452600726 > Email: [email protected] > Web: pixl8.co.uk > > -- > official tag/function reference: http://openbd.org/manual/ > mailing list - http://groups.google.com/group/openbd?hl=en > -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
