Skip to main content
Participant
February 11, 2013
Question

ListRest with includeEmptyValues gives unexpected result

  • February 11, 2013
  • 1 reply
  • 486 views

I believe I've encountered a bug in Coldfusion 9 and 10.  Whenever includeEmptyValues (the third parameter) of ListRest is set to true it appears to return the entire list with no elements removed.

I've verified this behaviour with the following test.

<CFSET olst = 'a quick red fox jumped over the lazy brown dog'>

<CFSET rlst = ListRest(olst, ' ', true)>

<CFDUMP var="#rlst#">

The result is "a quick red fox jumped over the lazy brown dog".

    This topic has been closed for replies.

    1 reply

    Inspiring
    February 11, 2013

    Yep, it was reported over two years ago, and Adobe - apparently - don't have enough time to fix it. Which is disappointing, given how easy it must be to fix.

    https://bugbase.adobe.com/index.cfm?event=bug&id=3041684

    --

    Adam

    Participant
    February 12, 2013

    Thank you Adam, I wasn't aware that Adobe had a public bugtracker.