Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 05/22/2012
Components: Scheduler
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final / 282618
Priority/Frequency: Minor / Very few users will encounter
Locale/System: English / Win All
Vote Count: 0
Here are three issues wrt passing an array to cfschedule's exclude attribute:
1) action="list" returns an array (instead of comma-delim'd list) in the result query
2) CF Admin throws an exception when viewing details of the task
CF Admin exception when task's 'exclude' is an array said:
________________________________________
(see StackTrace1.txt in attached StackTrace.zip file for full error)
________________________________________
Repro code: <cfschedule action="update" task="myTask" startdate="1/1/2012" starttime="12:00 AM" interval="monthly" url="http://a" exclude="#[’2/1/02012’,’4/1/2012’]#" />
3) The following examples throws an exception:
<cfschedule action="update" task="myTask" startdate="1/1/2012" starttime="12:00 AM" interval="monthly" url="http://a" exclude="#[’02/01/02012’,’04/01/2012’]#" />
<cfschedule action="update" task="myTask4" startdate="1/1/2012" starttime="12:00 AM" interval="monthly" url="http://a" exclude="2/1/02012,4/1/2012 TO 6/1/2012" />
exception said:
________________________________________
(see StackTrace2.txt in attached StackTrace.zip file for full error)
________________________________________
A list of dates is fine, and a range is fine, but it doesn’t like the combination of both.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3196336
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
- May 23, 2012 00:00:00: 1_StackTrace.zip
Comments: