tracker issue : CF-4205859

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

Exception after submitting cfgrid form

| View in Tracker

Status/Resolution/Reason: To Track//PRNeedInfo

Reporter/Name(from Bugbase): Gerhard L. / ()

Created: 11/12/2019

Components: CFForm, HTML

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 2018.0.05.315699 /

Priority/Frequency: Normal /

Locale/System: / Win 2008 Server R2

Vote Count: 0

Problem Description:
 Get empty page and a exception in coldfusion-error.log after submitting a cfgrid form on a fresh Coldfusion 2018 installation:
 javax.servlet.ServletException: ROOT CAUSE: 
 coldfusion.filter.GridFieldProcessor$CorruptGridFieldException: The submitted cfgrid form field is corrupt (name: __CFGRID__GRIDTESTFORM__FIRSTGRID value: [, ])

No issue on Coldfusion Version 10,0,23,302580

Steps to Reproduce: 
{code:java}
<html>
   <head></head>
   <body>
      <cfset xtnliste = QueryNew("Head1,Head2,Head3")>
      <cfset temp = QueryAddRow(xtnliste)>
      <cfset temp = QuerySetCell(xtnliste, "Head1", "Val1")>
      <cfset temp = QuerySetCell(xtnliste, "Head2", "Val2")>
      <cfset temp = QuerySetCell(xtnliste, "Head3", "Val3")>
      <cfform action="GridTest.cfm" method="post" name="gridtestform">
         <table>
            <tr>
               <td width="100%">
                  <cfgrid name = "FirstGrid" format="html" height="320" width="580" font="Tahoma" fontsize="12" query = "xtnliste"> </cfgrid>
               </td>
            </tr>
            <tr>
               <td> <input id="bf1" type="submit" name="Aen" value='GoException'> </td>
            </tr>
         </table>
      </cfform>
   </body>
</html> {code}
(Press GoException button )

Actual Result: White page in Chrome browser and Exception log

Expected Result:

Any Workarounds:

Attachments:

Comments:

Hi Gerhard, Did you see any issue in browser console ? Also share the sample code of GridTest.cfm which you are referring in sample code? -Mukesh
Comment by Mukesh K.
31914 | December 03, 2019 09:45:44 AM GMT