tracker issue : CF-3366197

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

CF Admin incorrectly shows Next Run for Expired Application Level Tasks

| 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 / 283466

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Problem Description: The Scheduled Task section of the ColdFusion Administrator is incorrectly showing the Next Run for Application Level tasks that have Expired.

Steps to Reproduce: Run the following code which will create a Run Once app and server level task.  Give the tasks a minute to expire.  Then look in the CF Administrator.

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

Actual Result:

Next Run time is shown as Expired for the Server Level task. However, Application Level task which should show Expired is actually showing the original run time, which is incorrect.

Expected Result: Expired Application level tasks should show Expired for the Next Run.

Any Workarounds:

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

Watson Bug ID:	3366197

External Customer Info:
External Company:  
External Customer Name: Rob Brooks-Bilson
External Customer Email:  
External Test Config: If you dump the server and application level tasks, you'll see that the data is the same for both, it's just not being displayed correctly in the CF Admin.



<cfschedule 

	action="list" 

	mode="server"

	result="myServerTasks"

	/ >

				

<cfschedule 

	action="list" 

	mode="application"

	result="myApplicationTasks"

	/ >				



<h3>Server Level Tasks</h3>				

<cfdump var="#myServerTasks#" />



<h3>Application Level Tasks</h3>

<cfdump var="#myApplicationTasks#" />

Attachments:

Comments: