Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Steve Vail / Steve Vail (Steve Vail)
Created: 08/25/2015
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 7
Vote Count: 0
Problem Description: Users are granted access to specific features using cookies with Boolean flags. A true value will obtain the specified access, but NULL is the default. Now an error is given where, say, COOKIE.SUPERVISOR = "", now returns the error: cookie.supervisor not found.
Steps to Reproduce: COOKIE.SUPERVISOR = "", <cfif cookie.supervisor is 1><cfset access="yes"><cfelse><cfset access="no"></cfif>
Actual Result:error: cookie.supervisor not found.
Expected Result: access = "no"
Any Workarounds: yes. insert additional logic to set the cookie to 0 if it is not a true condition
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4043038
External Customer Info:
External Company:
External Customer Name: Steve
External Customer Email:
External Test Config: My Hardware and Environment details: ms server 1008 r2
Attachments:
Comments: