ColdFusion 9 ListToArray Using Curly Braces

Gary Gilbert wrote a post he called Coldfusion 9 ListToArray bug
where he compares the behavior of that function in ColdFusion 9 with other versions.
It seems that it behaves differently in version 9 if you use curly braces as delimiters, since they are used in implicit structures in ColdFusion 9.

Although I do not think that should be considered a bug, but a different behavior, that will be a problem for those who are migrating from previous versions, and they need to be aware of the delimiter changes

Bookmark and Share
  1. Nov 5th, 2009 at 12:15 | #1

    It is true that Adobe added an additional param to arraytolist called multiCharacterDelimiter (which defaults to false). But that is not the problem, the problem is simply with curly braces, and since there has been no mention of a limitation on what can be used for a delimiter it definitely should be considered a bug.

    differences in behavior from one version to another should be minimized to maintain backwards compatibility, be when behaviour changes it MUST be documented to prevent migration problems.

    not documented = bug or is it a “feature”

  2. Nov 5th, 2009 at 19:17 | #2

    I disagree, it’s a bug.

  3. Nov 6th, 2009 at 10:03 | #3

    @Gary & @Russ
    I haven’t read the CF9 documentation yet. Since you said it is undocumented, then I agree with you both. It’s a bug.
    Thanks for commenting.
    I’d like to take this opportunity to ask your permission to translate articles of your blogs into Portuguese, so I can post them on our Brazilian ColdFusion blog (whith credits, of course) http://ensina.me/coldfusion.
    Thanks.

Show Hide 1 trackbacks

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>