Title:
Implicit struct defined in a tertiary operator inside a tag attribute throws exception
| View in TrackerStatus/Resolution/Reason: Closed/Deferred/HighRisk
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/25/2012
Components: Language, Datastructure
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Public Beta /
Priority/Frequency: Normal / Few users will encounter
Locale/System: English / Win All
Vote Count: 0
Repros:
- <cfdump var="#(isDefined('foo'))?'foo':{}#" />
- <cfdump var="#(isDefined('foo'))?'foo':[]#" />
Error: Variable ___IMPLICITARRYSTRUCTVARn is undefined
Another scenario from bug 3197751
<cffunction name="f">
<cfreturn querynew("C")>
</cffunction >
<cfloop query="#f({a=’b’})#"></cfloop>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3148699
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: