tracker issue : CF-3036708

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

Bug 73628:CFDUMP Displays Incorrect Value for SmallInt Variable

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Michael Dawson / Michael Dawson (Michael)

Created: 11/12/2008

Components: Debugging, CFDump

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 1

Problem:

CFDUMP Displays Incorrect Value for SmallInt Variable

CFDUMP displays "YES" when a variable is a smallint with a value of 1.

CFDUMP displays "NO" when a variable is a smallint with a value of 0.

It appears that CFDUMP assumes that 1 and 0 are boolean values.

My test case was to dump the results of a query object created with CFEXCHANGECALENDAR.  The offending variable is the "isRecurring" field of the query.
Method:


Result:

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

Watson Bug ID:	3036708

External Customer Info:
External Company:  
External Customer Name: Michael Dawson
External Customer Email: 361B0A9E44763038992016B8
External Test Config: 11/12/2008

Attachments:

Comments:

+1 vote. <cfdump> should not transform any data it receives, it should simply output it.
Vote by External U.
24686 | November 10, 2011 06:51:42 PM GMT