tracker issue : CF-4204128

select a category, or use search below
(searches all categories and all time range)
Title:

cfgrid seems to be confusing columns

| View in Tracker

Status/Resolution/Reason: To Fix//BugVerified

Reporter/Name(from Bugbase): Mitchell K. / ()

Created: 03/29/2019

Components: CFForm, HTML

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: Coldfusion 2018 Update 3 /

Priority/Frequency: Normal / Most users will encounter

Locale/System: English / Windows 10

Vote Count: 0

Problem Description: Editable cfgrid on fresh Coldfusion 2018 installation seems to be confusing columns. Changes to one column are interpreted as changes to the column directly to the right. Changes to the right-most column throw a javascript error that there is nothing to update. Image shows cfdump when 'john' changed to 'peter'. Commenters on stackoverflow suggest repeatability in some cases but not in others. Some got the same behavior and others did not: https://stackoverflow.com/questions/55386519/cfgrid-not-working-after-upgrade-from-coldfusion-11-to-coldfusion-2018

Steps to Reproduce:
<cfif isDefined("form.submitname")> 
  <cfdump var="#form#">
<cfelse>
  <cfform action="test.cfm" method="post" name="testform" id="testformId">
    <cfinput type="Submit" name="submitname" id="submitid">
    <cfgrid name="TestGrid" format="html" selectmode="edit">
      <cfgridcolumn name="A"> 
      <cfgridcolumn name="B">
      <cfgridrow data="john,doe">
      <cfgridrow data="steve,anon">
    </cfgrid>
  </cfform>
</cfif>

Actual Result: https://i.stack.imgur.com/1YiKi.png

Expected Result: 

Any Workarounds:

Attachments:

Comments: