Title:
CF Admin Inconsistently Displays Next Run as "Expired" vs. "" for Chained Application vs. Server Level Tasks
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Rob Bilson / Rob Bilson (Rob Bilson)
Created: 11/16/2012
Components: Scheduler
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final / 283467
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
Problem Description:In the ColdFusion Admin, if you schedule server level chained tasks and application level chained tasks, you'll notice that for the child tasks, Next Run for Server level tasks is blank while Next Run for Application level tasks is "Expired". A quick dump of all the tasks shows that "Expired" is returned for all server level and application level child tasks, so the CF team really needs to decide whether to show blank or "Expired" for Next Run and apply it consistently.
Steps to Reproduce:
Run the following, which will create several application and server level tasks:
<cfschedule
action="update"
task="Child_Task"
group="chainParentChild"
url="http://www.adobe.com"
/ >
<cfschedule
action="update"
task="Parent_Task"
group="chainParentChild"
url="www.adobe.com"
startdate="#now()#"
starttime="#dateAdd('n', 1, now())#"
interval="Daily"
onComplete="Child_Task:chainParentChild:server"
/ >
<!--- Listing 14-9: /cf10wack/14/chainParentMultipleChildren.cfm --->
<cfschedule
action="update"
task="Child_Task1"
group="chainParentMultipleChildren"
mode="application"
url="www.adobe.com"
/ >
<cfschedule
action="update"
task="Child_Task2"
group="chainParentMultipleChildren"
mode="application"
url="www.adobe.com"
/ >
<cfschedule
action="update"
task="Parent_Task"
group="chainParentMultipleChildren"
mode="application"
url="www.adobe.com"
startdate="#now()#"
starttime="#dateAdd('n', 1, now())#"
interval="Daily"
onComplete="Child_Task1:chainParentMultipleChildren:application, Child_Task2:chainParentMultipleChildren:application"
/>
<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#" />
Actual Result:
You'll see Next Run is blank for child Server level tasks while it's set to Expired for child Application Level tasks.
Expected Result:
Results should be either consistently Blank or Expired.
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3366951
External Customer Info:
External Company:
External Customer Name: Rob Brooks-Bilson
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: