tracker issue : CF-3039790

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

Bug 79603:(Watson Migration Closure)[ANeff] ER for: <cfinsert /> & <cfupdate /> really should accept any old struct, not just FORM scope

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 08/27/2009

Components: Language, Tags

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 1


[ANeff] ER for: <cfinsert /> & <cfupdate /> really should accept any old struct, not just FORM scope.  Not sure that any explanation is necessary, as it is pretty obvious..  but the related thread is here:


----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3039790

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email: 3D1D17B03C844EBF992001AC
External Test Config: 08/27/2009



This bug has been voted..
Vote by External U.
22970 | November 10, 2011 07:02:50 PM GMT
Please reopen and fix this. Please also stop closing issues as "not enough time", because there will always be "enough time" in a subsequent release.
Comment by External U.
22967 | August 28, 2014 02:18:19 AM GMT
Hi Adam, +1 to what you said of course. I believe there's been "enough time" in the 5yr since 8/27/2009, when this was filed =P Thanks!, -Aaron
Comment by External U.
22968 | August 28, 2014 02:27:29 PM GMT
Now almost 6 years.
Comment by External U.
22969 | July 22, 2015 02:07:34 PM GMT
Decade! How about simply adding a 'fields' attribute that's mutually exclusive w/ the 'formfields' attribute? Example: <cfscript> myFields = { myID = 1,//optional shorthand for `{value=1}` myColumn1 = {value="my value", type="varchar", maxLength=50},//struct of cfqueryparam info, except 'type' instead of 'cfsqltype' myColumn2 = {value=true, type="bit"}//struct of cfqueryparam info, except 'type' instead of 'cfsqltype' }; cfupdate(tableName="myTable", fields=myFields); </cfscript> Thoughts? Thanks!, -Aaron
Comment by Aaron N.
31198 | August 25, 2019 06:37:12 AM GMT
For both cfinsert -and- cfupdate, of course.
Comment by Aaron N.
31199 | August 25, 2019 06:38:40 AM GMT