Status/Resolution/Reason: To Fix//HaveNewInfo
Reporter/Name(from Bugbase): Bradley Wood / ()
Created: 08/10/2018
Components: Language
Versions: 2016,11.0,2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal /
Locale/System: / Platforms All
Vote Count: 1
Problem Description:
CFCatch object is not really a struct in ColdFusion and isStruct() returns false. Lucee Server correctly handles this and catch objects actually inherit from StructImple which gives full struct functionality and member functions.
https://trycf.com/gist/a0ded34f038f94bb0965d2e2382a8ace/acf2018?theme=monokai
Steps to Reproduce:
try {oogie.boogie();}
catch(any ex)
{
writeDump({
"isStruct" : isStruct(ex)
});
}
Actual Result:
No
Expected Result:
yes
Any Workarounds:
No
Attachments:
Comments: