blueriver/MuraCMS — Issue #263: script based case statements with multiple constants on CF8
Author: davejlong
Created: 2012-02-02 16:36:29+00:00
State: open

When using script based switch/case statements with multiple constants (ie `case "Link,File":`) CF 8 doesn't process them as multiple constants. According to CF 8 Livedocs case statements with multiple constants should be written as the following:

switch(Arguments.type){
case "Link": case "File":
(processing for either link or file)
break;
default:
(processing for anything else)
break;
}

This happens in the createHref function of the contentRenderer.