tracker issue : CF-3193643

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

CFUPDATE support for fetchClientInfo attribute

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/AsDesigned

Reporter/Name(from Bugbase): Ron Stewart / Ron Stewart (Ron Stewart)

Created: 05/18/2012

Components: Database

Versions: 10.0

Failure Type: Unspecified

Found In Build/Fixed In Build: Public Beta /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 1

The previously-published "new features guide" does not indicate CFUPDATE supports new fetchClientInfo attribute, despite the other database interaction tags supporting it. Unknown whether this is a documentation bug or a functionality omission.

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

Watson Bug ID:	3193643

External Customer Info:
External Company:  
External Customer Name: cf_ron
External Customer Email:  
External Test Config: N/A

Attachments:

Comments:

What is this new features guide? If it is still relevant for CF docs and if it affects the manuals, please let me know.
Comment by Frank J.
19423 | January 27, 2014 11:12:13 AM GMT
The new features guide is a document published by Adobe ahead of the release of CF10. It is available at the following address: http://www.adobe.com/support/documentation/en/coldfusion/10/cf10betafeatures.pdf This bug and two others came out of a thread on the Adobe ColdFusion forums where I asked questions about three items that appeared to be either inconsistencies in language changes or omissions or inconsistencies in the document made available by Adobe. That thread is here: http://forums.adobe.com/message/4419021#4419021 The gist of this bug, logged at the request of the Adobe rep, is that the cfquery, cfinsert, and cfstoredproc are noted as supporting a new "fetchClientInfo" attribute. My question was why is cfupdate not also listed as supporting this new attribute? Does it really not support it, and if so, why? Or is this just an oversight in Adobe's document? I just checked the current on-line version of the CF docs, and they still reflect this inconsistency: fetchClientInfo listed for cfquery, cfinsert, cfstoredproc, but not for cfupdate.
Comment by External U.
19424 | January 27, 2014 10:44:04 PM GMT
As commented in the same Forum thread: fetchclinetinfo is not added for CFupdate. Shilpi Adobe ColdFusion Team
Comment by Frank J.
19425 | February 10, 2014 03:38:23 AM GMT
Agreed, and quoting from further down in that same thread: Hi Ron, I will be able to answer the question related to cfupdate. I would request you to log an issue for this miss on cfupdate or i can log one internally. Please share the bug id so that others have it for reference. Thanks, Shilpi That Shilpi requests that I "... log an issue on this miss on cfupdate..." implies that this is in fact a bug that needs to be addressed.
Comment by External U.
19426 | February 10, 2014 06:56:24 AM GMT
It is not a miss in the documentation. cfupdate does not have an attribute 'fetchClientInfo' and there is no need to add this attribute. For tags like cfquery and cfinsert, there is result attribute and when fetchClientInfo is set to true, then client information is added to the result object being returned. Since cfupdate does not have any result object, fetchclientinfo does not make sense there. And adding a result attribute just for returning the client information does not make much sense.
Comment by Rupesh K.
19427 | February 17, 2014 11:10:48 PM GMT
Your line of reasoning is specious and facile, Rupesh. If there is a case for adding this functionality to *any* DB interaction tag, then there's a case for it to be added to ALL of them. Indeed given you've added it to other DB interaction tags, you are actually breaking a now-set precedent by not adding it to both this and <cfdbinfo> too. Be honest: other than an attempt at work-avoidance, what's a legitimate case for not adding this to <cfupdate> if there was a case for it to be added anywhere else? -- Adam
Comment by External U.
19428 | September 16, 2014 02:08:17 AM GMT
+1 - this is a functionality omission
Vote by External U.
19430 | July 22, 2015 02:12:08 PM GMT
Hi Rupesh, Regarding "Since cfupdate does not have any result object", I've filed #CF-4024422 w/ note: "Since result info (ex: executionTime) is just as useful for updates as it is for inserts, <cfupdate> should support the result attribute just as <cfinsert> does." Since the bug in that #CF-4024422 was used as the basis for not fixing this #CF-3193643, then this #CF-3193643 should be re-opened/fixed. Thanks!, -Aaron
Comment by External U.
19429 | July 22, 2015 02:17:07 PM GMT