CFML / Fusebox 5.5: Parse Engine Fails (sometimes) to close CFIF tags

93 Views Asked by At

This is Fusebox 5.5.1 application. For some reason, though I've been using Fusebox for years, I'm facing a new issue recently.

The parsing engine seems to want to occasionally (and parsing the same file may make it work, and then working parsed files will fail) generate the following error:

Context validation error for the cfcatch tag The tag must be nested inside a CFTRY tag.

Reviewing the parsed files by fusebox - good ones vs. bad ones, the bad versions are missing the closing /CFIF tags for some reason.

Line by line comparison, it's just missing all the lines where it should have just the closing CFIF tag, leaving 100s of open CFIF tags in the parsed file (it's not just one tag, it's all of them) - which makes the failure statement true.

So, has anyone else had this problem (with this old framework) and how was it solved.

The only thing I can think of so far, is about 3 months ago the CF server was updated both to a newest CF Version at that time and and to faster machine. I wonder if this is an issue where the parser is running so fast (I know, grasping at straws) that it's not flusing a variable, and then that variable is set to never close the CFIF statement.

Any thoughts are appreaciated.

I've tried rerunning the parse (parsing all), I've tried running it in production and dev, and I've tried to overwrite individual files.

0

There are 0 best solutions below