Best I could suggest is to file a bug report - and as an FYI I've been
asking to get cfdump "open" as well.


On Wed, Sep 11, 2013 at 11:02 AM, Nando <d.na...@gmail.com> wrote:

>
> Ray,
>
> Thanks again for your suggestion to try it outside any application. I was
> then able to isolate the issue (even tho' I thought I couldn't at first!),
> and it seems indeed that it occurs if whitespace is stripped from the
> cfdump output. You'll find a pair of very simple templates in this zip -
> http://aria-media.com/testDump.zip - that demonstrate the issue. Change
> the
> query in test.cfm to something that will work. Browse to test.cfm and it's
> fine. Browse to testDump.cfm and it's broken.
>
> It could be argued that the developers need to be careful when stripping
> whitespace, but it could also be argued that this would be a simple fix and
> cfdump should be a little more robust, so why not? As I wrote, I
> *think*someone just needs to open the source template and repetitively
> search and
> replace all instances of 2 consecutive spaces with one space until no
> space-space instances are found. That should prevent any regex that strips
> whitespace from collapsingcodetogether and thereby breaking functionality.
> What do you think?
>
>
> On Wed, Sep 11, 2013 at 5:15 PM, Nando <d.na...@gmail.com> wrote:
>
> > Ray,
> >
> > I think I have a clue what might be going on. I compared the browser view
> > source of both the standalone template and the fw/1 template. The fw/1
> > version has the whitespace striped out. I selectively strip some of the
> > white space from the rendered views at times, but I've seen that doing so
> > can sometimes inadvertently collapse 2 bits of code that should be
> > separated by a space into something that doesn't work anymore, depending
> on
> > the regex, or regex sequence, used. Lemme follow up on this and see how
> > that is occurring. Sean might have introduced this at some point into the
> > framework.
> >
> > That said, what I would do at this point if I maintained the dump.cfm
> > template is to run a search and replace on the source code, searching
> for 2
> > consecutive spaces and replacing it with one space - repeating that as
> many
> > times as necessary until all instances of 2 consecutive spaces are
> > eliminated. This assumes that the code is formatted using tab characters
> > rather than spaces ...
> >
> >
> > On Wed, Sep 11, 2013 at 4:54 PM, Raymond Camden <raymondcam...@gmail.com
> >wrote:
> >
> >>
> >> I had a FW/1 app handy but I can't recreate it. Can you please create a
> >> repo zip that I can extract and run here? Since you said the DB call
> >> didn't
> >> matter, just make it obvious for me and I'll replace it with another
> >> query.
> >> Or, if you ALSO see it with a fake query, use that.
> >>
> >>
> >>
> >> On Wed, Sep 11, 2013 at 9:49 AM, Nando <d.na...@gmail.com> wrote:
> >>
> >> >
> >> > Ray,
> >> >
> >> > The cfdump error was seen on a FW/1 view template. When I try the same
> >> > query within a single template outside any application, cfdump works
> >> fine.
> >> > So that was a good suggestion. I have no idea how to interpret it
> tho',
> >> > especially since I cannot see the source code of of dump.cfm.
> >> >
> >> > I've been developing on FW/1 almost exclusively for the last several
> >> years.
> >> > I'm not sure when this crept in, but I do know that I've used cfdump
> >> often
> >> > in the past to examine query data while constructing the view
> >> templates. It
> >> > might not even be related to FW/1. What do you suggest as a next step?
> >> >
> >> >
> >> > On Wed, Sep 11, 2013 at 4:19 PM, Raymond Camden <
> >> raymondcam...@gmail.com
> >> > >wrote:
> >> >
> >> > >
> >> > > To be clear, no one else in this thread is seeing what Nando does,
> >> right?
> >> > >
> >> > > Nando, can you ensure you are doing a dump with NOTHING else in the
> >> > > request. No App.cfm. Also, try different browsers.
> >> > >
> >> > >
> >> > >
> >> > > On Wed, Sep 11, 2013 at 9:18 AM, Nando <d.na...@gmail.com> wrote:
> >> > >
> >> > > >
> >> > > > Yes, it's obviously malformed HTML, but since the ACF cfdump
> >> template
> >> > is
> >> > > > encoded, I can't reasonably do anything about it.
> >> > > >
> >> > > >
> >> > > > On Wed, Sep 11, 2013 at 2:48 PM, Rodney Enke <renk...@gmail.com>
> >> > wrote:
> >> > > >
> >> > > > >
> >> > > > > At this point I would look at bad HTML preceding the cfdump or
> CSS
> >> > > styles
> >> > > > > causing the reformatting.
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > --
> >> > > > Nando Breiter
> >> > > >
> >> > > > *Aria Media
> >> > > > via Rompada 40
> >> > > > 6987 Caslano
> >> > > > Switzerland
> >> > > > *
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356793
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to