tracker issue : CF-3036006

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

Bug 72974:(Watson Migration Closure)Allow function argument to be able to specify cfimage as a type

| View in Tracker

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

Reporter/Name(from Bugbase): Seth Duffey / Seth (Seth Duffey)

Created: 09/16/2008

Components: Language, CF Component

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

Allow function argument to be able to specify cfimage as a type.

Something like:

<cfargument name="image" type="cfimage" required="yes" />
or
<cfargument name="image" type="image" required="yes" />




Method:


Result:

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

Watson Bug ID:	3036006

External Customer Info:
External Company:  
External Customer Name: Seth
External Customer Email: 50F213DC44566FDF992016B6
External Test Config: 09/16/2008

Attachments:

Comments:

Can you pls offer some insight as to why this is closed/never fix, instead of simply changing the status?
Comment by External U.
24738 | August 19, 2015 12:21:36 AM GMT
On the docs for ColdFusion data types (https://wikidocs.adobe.com/wiki/display/coldfusionen/Data+types-+Developing+guide), isImage is mentioned as one of the ways to identify the type of data. I think the implication is that "image" is considered a type of data in CF so this should work. Heck, internally, make it run isImage(). Done.
Comment by External U.
24739 | August 19, 2015 04:38:54 PM GMT
Def. There are image objects upon which we run image functions. There are image function *member functions*. So "Image" is definitely a data type in CFML. Seen in that light... The omission of it in argument type / return type / param type is... *a bug*, not a feature req.
Comment by External U.
24740 | August 19, 2015 05:02:28 PM GMT