Status/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 04/24/2014
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: PublicBeta /
Priority/Frequency: Minor / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 1
See http://cfmlblog.adamcameron.me/2014/04/coldfusion-11-quick-look-at-what-data.html
{code}
writeOutput("<h3>Built-in function</h3>");
writeOutput("<h4>Via direct reference</h4>");
safe(function(){
writeDump(var={object=mid, type=midref.getClass().getName()});
});
writeOutput("<h4>Via indirect reference</h4>");
safe(function(){
var midRef = mid;
writeDump(var={object=midref, type=midref.getClass().getName()});
});
function safe(f){
try {
f();
}catch(any e){
writeOutput("#e.type#: #e.message#; #e.detail#<br>");
}
}
{code}
Errors with:
Via direct reference
Expression: Variable MID is undefined.;
Via indirect reference
Expression: Variable MID is undefined.;
Neither should error
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3749296
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: