Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Steve Hammonds / Steve Hammonds (Steve Hammonds)
Created: 01/25/2011
Components: AJAX, UI Components
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,1,274733 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 3
Duplicate ID: CF-3042485
Problem:
Since upgrading to 9.0.1 editable grids (html type) submit erroneous form data indicating incorrect original values and updates for incorrect columns or rows
Method:
Run this and edit the first cell of every row and submit. The generated form data is incorrect.<cfif isdefined("FORM.GEOGRID.CITY")><cfdump var="#form#"><cfelse><cfoutput><a href="javascript:document.cities.submit()" class="button">Update Data</a></cfoutput><cfset cities = "Rome,Athens,Canberra,Brasilia,Paris"> <cfset countries = "Italy,Greece,Australia,Brazil,France"> <cfform name = "cities"> <cfgrid name="GeoGrid" autowidth = "yes" vspace = "4" height = "120" font="tahoma" rowheaders="no" format="html" selectmode="edit"> <cfgridcolumn name="City" header="City"> <cfgridcolumn name="Country" header="Country"> <!--- Loop through the lists using cfgridrow to poplulate the grid. ---> <cfloop index="i" from="1" to="#ListLen(cities)#"> <cfgridrow data ="#ListGetAt(cities, i)#,#ListGetAt(countries, i)#"> </cfloop> </cfgrid><br><br> </cfform>
Result:
CFGRID with selectmode=edit and type=html does not submit valid form data.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3043187
External Customer Info:
External Company:
External Customer Name: Steve Hammonds
External Customer Email: 723C6F63492C2B249920154A
External Test Config: 01/25/2011
Attachments:
Comments: