tracker issue : CF-3366182

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

PauseAll/ResumeAll Breaks When Expired Tasks Present

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Rob Bilson / Rob Bilson (Rob Bilson)

Created: 11/15/2012

Components: Scheduler

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 283364

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Problem Description: If you try to PauseAll / ResumeAll scheduled tasks using the cfschedule tag, ColdFusion throws an exception if there are any expired tasks on the server.

Steps to Reproduce:

Create a task that's set to run once. After it runs, the task will be marked as Expired.

<cfschedule 
	action="update"
	task="Run_Once_Task"
	url="http://www.adobe.com"
	startdate="#now()#"
	starttime="#dateAdd('n', 1, now())#"
	interval="once" 
	/ >

After the task has expired, attempt to PauseAll on the server:

<cfschedule action="pauseall" />

ColdFusion throws an error.


Actual Result:
ColdFusion throws the following error:

The following task has expired and could not be paused or resumed : Run_Once_Task.

Expected Result:

ColdFusion should ignore expired tasks when pauseAll or resumeAll is issued by cfschedule.

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3366182

Keywords:
FixTested


External Customer Info:
External Company:  
External Customer Name: Rob Brooks-Bilson
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments: