tracker issue : CF-3215794

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

imagePaste lists a return value in the documentation, but returns nothing.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Adam Tuttle / Adam Tuttle (Adam Tuttle)

Created: 06/15/2012

Components: Documentation

Versions: 9.0.1

Failure Type:

Found In Build/Fixed In Build: 9.0.1 /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Windows 7

Vote Count: 0

Problem Description:

ImagePaste documentation incorrectly lists a return value, but not only is a value not returned, but an exception is thrown if you attempt to assign the result to a variable.

Steps to Reproduce:

First, see the documentation here: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7962.html

"Returns: A ColdFusion image."

Then write code such as:

a = imageNew("", 50, 50, "rgb", "black");
b = imageNew("", 100, 100, "rgb", white");
combined = imagePaste(b, a, 15, 15);


Actual Result:

Documentation lists a return value for imagePaste.

Expected Result:

Documentation should not list a return value for imagePaste; should instead say returns nothing and that image1 is modified.

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

Watson Bug ID:	3215794

External Customer Info:
External Company:  
External Customer Name: Adam.Tuttle
External Customer Email:  
External Test Config: My Hardware and Environment details:



Windows 7 x64

IIS7

CF9.0.2

Attachments:

Comments:

Fixed: https://wikidocs.adobe.com/wiki/display/coldfusionen/ImagePaste
Comment by Frank J.
19016 | May 06, 2014 01:21:22 AM GMT