Status/Resolution/Reason: To Fix//BugVerified
Reporter/Name(from Bugbase): Eric Belair / Eric Belair (Eric Belair)
Created: 12/07/2016
Components: General - IDE
Versions: 3.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: 3.0 Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Windows 10 64 bit
Vote Count: 0
Problem Description:
When I use "param" to set a default parameter value in CFSCRIPT, I am often seeing "Duplicate Attribute Name" errors, even though they are not duplicates.
Steps to Reproduce:
1. Create a new CFM file
2. Add a CFSILENT and CFSCRIPT tag.
3. Type `param URL.attribute1="";` within the CFSCRIPT tag:
index.cfm:
<cfsilent>
<cfscript>
param URL.attribute1="";
</cfscript>
</cfsilent>
4. Save the file.
Actual Result:
A red "X" is displayed in the left column of the IDE on the line of the CFSCRIPT tag. When I hover over it, the error message is "Duplicate Attribute Name URL.attribute1"
Expected Result:
No error.
Any Workarounds:
Convert all param lines to CFPARAM tags outside of CFSCRIPT.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4198177
External Customer Info:
External Company:
External Customer Name: Eric Belair
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 10
Attachments:
Comments: