Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): andrea dal zovo / andrea dal zovo (argolnx)
Created: 05/13/2014
Components: AJAX
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: ALL / Linux CentOS 6.4
Vote Count: 7
Problem Description:
When you use a CFGRID binded to a CFC and you pass more than 2 parameters from a FORM, it fails for an incorrenct javascript
Steps to Reproduce:
<cfscript>
args.name="maingrid";
args.format="html";
args.bindOnLoad="true";
args.bind="cfc:mycfc.getData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},{myName},{mySurname}";
args.stripe=true;
args.selectmode="select";
args.delete=true;
</cfscript>
<cfform action="test.cfm" id="xform" name="xform">
Name<cfinput type="text" name="myName" /> - Surname<cfinput type="text" name="mySurname">
<cfgrid attributecollection="#args#" pagesize="15" appendkey="no" autowidth="true" selectonload="false" striperowcolor="##C8D8E8">
<cfgridcolumn name="name" display="true" header="name" />
<cfgridcolumn name="surname" display="true" header="surname" />
</cfgrid>
</cfform>
Actual Result:
JavaScript error for
ColdFusion.Grid.GridBindelementMap['mainGrid'] = 'myName,myName,,value;'mySurname,mySurname,,value';....
If you bind only one variable you get a correct
ColdFusion.Grid.GridBindelementMap['mainGrid'] = 'myName,myName,,value';....
so it's a wrong use of '
Expected Result:
ColdFusion.Grid.GridBindelementMap['mainGrid'] = 'myName,myName,,value';'mySurname,mySurname,,value';....
Any Workarounds:
Use CF10
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3759630
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name: argolnx
External Customer Email:
External Test Config: My Hardware and Environment details:
CF11, update from CF10, linux Centos 6.5 64bit
Attachments:
Comments: