tracker issue : CF-3688232

select a category, or use search below
(searches all categories and all time range)

Glitch in CFML parser for writeDump() / writeLog() / throw()

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 12/27/2013

Components: Language

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 287849

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win XP All

Vote Count: 0

See full coverage here:

Executive summary:

This code compiles and runs:

throw(type="TestException" message="Test message" detail="Description (test)");

Note how it doesn't have any commas between the arguments.

This code ought to error.

Coupled with the fact that these functions also don't require semi-colons at the end of the statement including them, I think your parser needs a bit of a look-see. It should not allow wolly code like this through.


----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3688232

Deployment Phase:	Release Candidate


External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details: