tracker issue : CF-3563034

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

Multiple child tasks fail to fire when the onComplete attribute contains spaces after the comma delimiter

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 05/18/2013

Components: Scheduler

Versions: 10.0

Failure Type: Incorrect w/Workaround

Found In Build/Fixed In Build: Final / 286447

Priority/Frequency: Normal / Most users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Problem Description:

When setting up a parent task that fires multiple child tasks at the same time, a space after the comma delimiter in the onComplete attribute causes the some of the child tasks not to fire.

Steps to Reproduce:

Here's an example that creates a parent task with two child tasks set to fire at the same time when the parent completes.  Execute the code wait 1 min, then check the scheduler in the ColdFusion administrator and you'll see that the parent ran as well as child_task1, but child_task2 never fires (because of the space after the comma separating the task list in onComplete.  This is similar to the problem reported in 3362794.

<!--- Demonstrates creating a parent task that kicks off multiple child tasks --->
<cfschedule 
	action="update" 
	task="Child_Task1" 
	group="chainParentMultipleChildren"
	mode="application"
	url="http://#request.host#/myTask.cfm" 
	/ >

<cfschedule 
	action="update" 
	task="Child_Task2" 
	group="chainParentMultipleChildren"
	mode="application"			
	url="http://#request.host#/myTask.cfm" 
	/ >
				
<cfschedule 
	action="update"
	task="Parent_Task"
	group="chainParentMultipleChildren"
	mode="application"			
	url="http://#request.host#/myTask.cfm"
	startdate="#now()#"
	starttime="#dateAdd('n', 1, now())#"
	interval="Daily" 
	onComplete="Child_Task1:chainParentMultipleChildren:application, Child_Task2:chainParentMultipleChildren:application"
/>

Actual Result:

Expected Result:

The expected result is that you should be able to have spaces after commas separating the onComplete task list.

Any Workarounds:

You can work around the error by not having spaces between list items.

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

Watson Bug ID:	3563034

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

Attachments:

Comments: