Thanks for your feedback, Dave. So, does anybody out there in Macromedia land think this is a bug that I'm just stuck with, or what? I want to use CFGRID but if it's going to blow up every time someone clicks on a record that contains a semicolon, that's a real problem.
Joy At 05:41 PM 5/6/2005 -0400, you wrote: >It was commas, not semicolons, that were the issue; sorry for the bogus >info. > >I looked through my notes for the project where I thought I remembered >running into it, and found this: > >------------------------ >- The double entries at the top level are caused by the comma in >#pat_name#. > Don't know why this version of cftree does that, but removing the comma >fixes the problem. There's a delimiter parameter to the cftree, but a) >it's not comma by default, and b) making it something odd that's not >in pat_names does nothing. >------------------------ > >If I'm right placing this chronologically, it was discovered when we moved >to MX61. Don't know if ti's still an issue in MX7. > >Dave Merrill > > >> For what it's worth, I experimented with CFTREE and couldn't >> reproduce the problem there. Seems to be just CFGRID. >> >> Joy >> >> At 04:43 PM 5/6/2005 -0400, you wrote: >> >If I'm remembering right, the same thing happens with CFTREE, or >> at least it >> >did in older CF versions. >> > >> >Not that that's much help... >> > >> >Dave Merrill >> > >> >> Here's a strange one... If the text in a cell of the selected row >> >> of a CFMX7 Flash CFGRID contains a semicolon that is NOT the last >> >> character in the cell, it blows up, resulting in the error "The >> >> submitted cfgrid form field is corrupt." >> >> >> >> Here's some sample code for you: >> >> >> >> <CFSET myQuery = QueryNew("ticket_id,description")> >> >> <CFSET temp = QueryAddRow(myQuery)> >> >> <CFSET QuerySetCell(myQuery,"ticket_id","1")> >> >> <CFSET QuerySetCell(myQuery,"description","a;")> >> >> <CFSET temp = QueryAddRow(myQuery)> >> >> <CFSET QuerySetCell(myQuery,"ticket_id","2")> >> >> <CFSET QuerySetCell(myQuery,"description","a;b")> >> >> >> >> <CFFORM NAME="test" ACTION="test.cfm"> >> >> <CFGRID NAME="testGrid" QUERY="myQuery" SELECTMODE="ROW" >> FORMAT="FLASH"> >> >> </CFGRID> >> >> <CFINPUT TYPE="submit" NAME="submit"> >> >> </CFFORM> >> >> >> >> Click on Row 1 and submit, and all is well. Click on Row 2 and >> >> submit and it throws the error. Is this a bug, perhaps? >> >> >> >> Joy >> > >> > >> > >> > >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206132 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54