Title:
Add a DISABLED (optional, default=false) argument to the CFSILENT and CFTRY tags.
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): M S / M S (_Michael___)
Created: 11/21/2013
Components: Language
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 0
My idea is to add an option to the <CFTRY> and <CFSILENT> tags to help in development. By their nature, these tags mask real errors, which is good in production, but in development I'd sometimes rather things just fell over. If there was an easy way to switch them all off without commenting them out I think that would be helpful.
My idea would be to add the optional boolean argument, "DISABLED", to these tags. This would be set to FALSE or NO by default, but you would be able to be set to TRUE or YES in development as and when required, eg.
<cftry disabled="YES">
or
<cftry disabled="#application.disableCFTRY#">
or
<cfsilent disabled="#application.disableCFSILENT#">
When disabled the tag would simply be ignored by the parser, but the code within would run as normal.
As an optional argument, it would be backwards compatible with older code.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3672861
External Customer Info:
External Company:
External Customer Name: _Michael___
External Customer Email:
External Test Config: My Hardware and Environment details:CF10 / Windows
Attachments:
Comments: