tracker issue : CF-4199431

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

[ANeff] Bug for: cfgridupdate doesn't honor default data source

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/NotWorthEffort

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

Created: 08/06/2017

Components: Application Framework, PerAppSettings

Versions: 2016,13.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: 2016.0.01.298513 and 2016.0.04.302561 /

Priority/Frequency: Minor / Very few users will encounter

Locale/System: / Win All

Vote Count: 0

Issue: cfgridupdate doesn't honor default data source

Steps to Reproduce: cfgridupdate(grid="myGrid", tablename="myTable")

Actual Result: "coldfusion.tagext.validation.IllegalAttrConfigException: Attribute validation error for CFGRIDUPDATE tag in cfscript."

Expected Result: It should honor the default data source.

Attachments:

Comments:

Datasource can be a non-required field since we are operating on a known grid with pre-defined datasource.
Comment by Manas M.
455 | August 24, 2017 06:29:09 AM GMT
Hi Manas, Thanks very much! -Aaron
Comment by Aaron N.
456 | August 24, 2017 06:39:37 AM GMT
Hi Adobe, I see the status changed from "Incorrectly Functioning" to "Enhancement Request". IMO, it is 'incorrectly functioning' b/c any tag/function having a "datasource" parameter, should use THIS.datasource by default. Example: cfquery, cfdbinfo, cfinsert, cfupdate, cfgridupdate, etc. That shouldn't be an "enhancement". That should just be how CF works. Thanks!, -Aaron
Comment by Aaron N.
457 | August 24, 2017 06:43:33 AM GMT
This enhancement requires a quite a good time for implementation and it fixes a very small scenario.
Comment by Uday O.
30047 | November 21, 2018 09:07:41 AM GMT
Does not block the user in any way. He can always go ahead by mentioning the datasource name in the mandatory field As mentioned by the dev : "This enhancement requires a quite a good time for implementation and it fixes a very small scenario."
Comment by Manas M.
30048 | November 23, 2018 07:19:32 AM GMT