tracker issue : CF-3196336

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

issues when passing an array to cfschedule's exclude attribute

| View in Tracker

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:

  1. May 23, 2012 00:00:00: 1_StackTrace.zip

Comments:

Related thread: http://prerelease.adobe.com/r/?6a33d941badc47079a193556fa66c2d5
Comment by External U.
19275 | May 22, 2012 11:02:26 PM GMT
Issue 2 has been fixed. For other 2 issues new bug can be opened and targeted properly
Comment by Uday O.
19276 | July 02, 2012 04:13:51 AM GMT
Hi Uday, I've verified Issue 1 and Issue 2 are fixed. Verified in CF10 Updater 2. Regarding Issue 3, I do not know if it is a doc bug or behavior bug. I'll file a new bug for it and we can discuss there. Thanks!, -Aaron
Comment by External U.
19277 | September 24, 2012 07:51:10 PM GMT