tracker issue : CF-3845994

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

No "Element xxx is undefined in FORM" error message

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/UserError

Reporter/Name(from Bugbase): Shigeo Kubota / Shigeo Kubota (CF-AXL)

Created: 10/31/2014

Components: Language

Versions: 11.0

Failure Type: Unspecified

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win 2012 Server x64

Vote Count: 1

Problem Description:
If a form element is undefined and try to output it, cfdebug style sheet code will be shown instead of an error message, 

Steps to Reproduce:
Just run this code.

<form action="" method="post">
  Product: <input type="text" name="product" value="<cfoutput>#form.product#</cfoutput>">
  <input type="submit" name="submit" value="Test">
</form>

Actual Result:
See the screenshot I attached.

Expected Result:
An error message like "Element xxx is undefined in FORM" should be displayed instead.

Any Workarounds:

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

Watson Bug ID:	3845994

External Customer Info:
External Company:  
External Customer Name: CF-AXL
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

  1. October 31, 2014 00:00:00: 1_screenshot.png
  2. December 12, 2014 00:00:00: 2_fixed.png

Comments:

This is a NEGATIVE vote (ie: I think you should NOT address this). User seems to be misunderstanding how exception handling ought to be handled in their app (ie: by *them*)
Vote by External U.
10344 | October 31, 2014 10:09:00 AM GMT
It was my fault, so please change the status to "withdrawn." After receiving an email from Adobe, I rechecked the issue and found out that there was an empty onError method defined in my Application.cfc. That was causing the issue shown in the screenshot(screeshot.png). I commented that part out and now I could get the expected result shown in the screenshot(fixed.png) by running the code above.
Comment by External U.
10343 | December 12, 2014 07:31:14 AM GMT