tracker issue : CF-3041684

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

Bug 83394:(Watson Migration Closure)The "includeEmptyValues" of listRest() appears not to work

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Matthew Walker / Matthew Walker (leptinella1)

Created: 06/19/2010

Components: Language, Functions

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 9,0,0,251028 / CF11 Update5

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 4

Listed in the version Issues Fixed doc

The "includeEmptyValues" of listRest() appears not to work. You simply get the list returned unchanged if you use this attribute.

For me, the following code returns "a,s,d,f". I am expecting "s,d,f". If I remove the final attribute, I get the expected result.<cfdump var="#listRest("a,s,d,f", ",", true)#">

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

Watson Bug ID:	3041684

External Customer Info:
External Company:  
External Customer Name: Matthew Walker
External Customer Email: 79FA411D4906F986992015B9
External Test Config: 06/19/2010



This bug has been voted..
Vote by External U.
22008 | November 11, 2011 12:53:17 AM GMT
Come on, you lot: "not enough time"? How hard can it be? It's saddening that you've been aware of this for over two years, and have not done anything about it. That's really slack. -- Adam
Vote by External U.
22009 | February 11, 2013 04:41:06 PM GMT
I stumbled on this issue attempting to use ListFirst and ListRest to parse a list in development code. It wasn't immediately obvious where the problem was and I spent quite awhile debugging before writing a test case for ListRest and asking about it on the forum:
Vote by External U.
22010 | February 12, 2013 07:39:23 AM GMT
+1 - Just ran into this in CF11u3 and CF10u15. Well, maybe I've ran into it before but just don't know =P
Vote by External U.
22011 | January 16, 2015 01:43:55 AM GMT
Fix verified and will be available in the upcoming update.
Comment by S P.
22005 | February 10, 2015 12:22:22 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
22006 | February 20, 2015 09:26:04 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506). The code in the description now returns "s,d,f". Thanks!, -Aaron
Comment by External U.
22007 | November 20, 2015 04:13:57 AM GMT