tracker issue : CF-3335505

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

[ANeff] Bug for: Incorrect task status when action="list" omits task="" attribute

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 09/22/2012

Components: Scheduler

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 286447

Priority/Frequency: Normal / Few users will encounter

Locale/System: English / Platforms All

Vote Count: 0

When action="list" is used w/ the task="" attribute, then expired task has "Running" status until action="list" is ran w/o the task="" attribute -OR- CF Admin's Scheduled Tasks page is accessed.

1) Run this code (create expired task followed by action="list" w/ task="" attribute):

<cfschedule action="update" task="myTask" startdate="1/1/2011" starttime="12:00 AM" interval="once" url="http://a" />
<cfschedule action="list" task="myTask" result="q1" />
<cfdump var="#q1#" />

2) See myTask's status is "Running" (bug)
3) Run this code (remove task="" attribute from action="list"):

<cfschedule action="list" result="q2" />
<cfdump var="#q2#" />

4) See myTask's status is "Expired" (good) (thus, status differs based on existence of task="" attribute)
5) Run this code (add task="" attribute back to action="list"):

<cfschedule action="list" task="myTask" result="q1" />
<cfdump var="#q1#" />

6) See myTask's status is "Expired" (good) (so step #3 corrected the task's status)

Also, simply accessing the CF Admin's Scheduled Tasks page will also correct the expired task's status from "Running" to "Expired".

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

Watson Bug ID:	3335505

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

Adobe, Verified this is fixed in Splendor Public Beta. Thanks!, -Aaron
Comment by External U.
18006 | February 28, 2014 05:05:02 AM GMT