Status/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 09/24/2012
Components: Scheduler
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Few users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 0
In the following examples, cfschedule falsely throws an exception stating the trigger will never fire.
Repro 1 (exclude as array):
<cfscript>
dateStart = dateAdd("s", 10, now());
dateExclude1 = dateAdd("s", 10, dateStart);
dateExclude2 = dateAdd("s", 10, dateExclude1);
dateEnd = dateAdd("s", 10, dateExclude2);
</cfscript>
<cfschedule action="update" task="myTask" startdate="#dateStart#" starttime="#dateStart#" enddate="#dateEnd#" endtime="#dateEnd#" interval="5" url="http://a" exclude="#[dateExclude1,dateExclude2]#" />
<cfschedule action="list" task="myTask" result="q" />
<cfdump var="#q#" />
Repro 2 (exclude as list):
<cfscript>
dateStart = dateAdd("s", 10, now());
dateExclude1 = dateAdd("s", 10, dateStart);
dateExclude2 = dateAdd("s", 10, dateExclude1);
dateEnd = dateAdd("s", 10, dateExclude2);
</cfscript>
<cfschedule action="update" task="myTask" startdate="#dateStart#" starttime="#dateStart#" enddate="#dateEnd#" endtime="#dateEnd#" interval="5" url="http://a" exclude="#dateExclude1#,#dateExclude2#" />
<cfschedule action="list" task="myTask" result="q" />
<cfdump var="#q#" />
Actual Result: Exception thrown: "Based on configured schedule, the given trigger will never fire."
Expected Result: Task should be created with 2 exclude dates (dateExclude1 & dateExclude2)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3336197
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: