I'm using cfgrid
with format="html"
to edit data after submission on Adobe's coldfusion-11 Update 4 (11,0,04,293328) and jQuery 1.8.3 (on java version 1.7.0_55 on IIS7 on Windows Server 2008 R2 64bit) and get a "submitted cfgrid form field is corrupt" error using the below cfform
and cfgrid
code, with these details:
The submitted cfgrid form field is corrupt (name:
__CFGRID__AFORM__OneGrid value:
,__CFGRID__EDIT__=4�field1�Y�field2�Y�field3�Y�is_expected�Y
�1�U�Detail 1�Detail 1�Category 3�Details, details, details�D
etails, details, details�No�No)
ColdFusion cannot determine the line of the template that caused this
error. This is often caused by an error in the exception handling
subsystem.
The coldfusion source code is:
<cfform name="aform" action="" method="post">
<cfgrid name="OneGrid"
query="rsDetails"
format="html"
selectmode="edit"
selectcolor="blue"
insert="true"
insertbutton="Click here to insert"
delete="true"
deletebutton="Click here to delete"
colheaderbold="true"
bgcolor="##E3F2FF"
striperowcolor="##BDE0FF"
striperows="true"
rowHeight="20"
>
<cfgridcolumn name="field1" type="combobox"
header="Field 1"
width="200"
valuesdelimiter=","
values="#lstField1Values#"
valuesdisplay="#lstField1Values#" select="true" >
<cfgridcolumn name="field2" type="combobox"
header="Field 2"
width="150"
valuesdelimiter=","
values="#lstField2Values#"
valuesdisplay="#lstField2Values#"
>
<cfgridcolumn
name="field3"
header="Field 3**"
type="string_noCase"
width="300">
<cfgridcolumn name="is_expected" type="Boolean"
header="Is this what you expected?"
width="50"
>
</cfgrid>
</cfform>
This error has been reported by other developers here (last update on March 13th), but as one can see, no response by adobe has been given. Has anybody found a solution?
Few days ago I found that Jamie Martin reported on June 25, 2015 that adobe has mailing out fixes to individuals about this fix. I've not tried it yet but instead replaced the server-side cfgrid with a client-side solution: jqgrid. Here comes Jamie's report:
«
Seems Adobe is mailing out fixes to individuals. I received a fix (some data redacted due to security). Would be nice if they'd just make the fix public at this point.
We have got a new fix for the cfgrid issues, you are facing. This fix covers Bug# 3842284 (The submitted cfgrid form field is corrupt), Bug# 3945554 (cfgridupdate) and Bug# 3741324 (dropdown listbox outside the confines of the grid control). You can apply CF11 Update 5 first and then this fix on top of it. Please try the following steps:-
»