tracker issue : CF-3926197

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

"includeEmptyValues" of listRest() when passed with a list containing a single element is not returning an empty string which is the expected behaviour.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (S Preethi)

Created: 01/23/2015

Components: Language, Functions

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 292860 / CF11 Update5

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Mac 10 All,Win XP All

Vote Count: 0

Listed in the version 11.0.05.293506 Issues Fixed doc
Problem:
With respect to the bug 3041684 , With the hotfix 4 for CF11, listRest() when passed with a list containing a single element is not returning an empty string which is the expected behaviour.

Method:
<CFSET MyList = "Monday">

<CFOUTPUT>
<B>List:</B> #MyList#<BR>
<B>All Elements Excluding First:</B> #ListRest(MyList, ",",true)#
</CFOUTPUT>

Result:
Monday

Expected:
[Blank / EmptyString]

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

Watson Bug ID:	3926197

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
8849 | February 20, 2015 09:27:21 AM GMT
Hi Preethi, Verified this ticket was implemented in CF11 Update 5 (build 11,0,05,293506). But why was this ticket created? listLen(MyList, ",", true) returns 1. Thanks!, -Aaron
Comment by External U.
8850 | November 21, 2015 10:48:55 PM GMT
Please disregard my last question =P This ticket is fixed in CF11 Update 5 (build 11,0,05,293506). Thanks!, -Aaron
Comment by External U.
8851 | November 21, 2015 10:54:54 PM GMT