tracker issue : CF-3362794

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

cfschedule throws an error if list of dates in Exclude 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: 11/09/2012

Components: Scheduler

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final / 283398

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Problem Description:
cfschedule's Exclude attribute allows you to pass a list of dates you want to exclude from task execution.  However, if the list of dates you pass contains spaces after the delimiter, ColdFusion throws an error

Steps to Reproduce: 
Run this code:

<cfschedule 
	action="update"
	task="MegaReport"
	url="http://www.adobe.com"
	startdate="11/1/2012"
	starttime="08:00:00"
	interval="daily"
	exclude="01/01/2013, 04/04/2013,5/27/2013" <!--- the space here after the comma will cause an exception --->
	/ >

Actual Result:
The date format used in exclude atribute is not valid.

Provide a commonly used date format.

Expected Result:
ColdFusion should treat lists here just like it treats lists everywhere else and allow spaces after the commas.

Any Workarounds:
Lists must not contain spaces after commas.

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

Watson Bug ID:	3362794

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:

The issue is fixed. Tested in CF10 version 285099 update 11 (Comment added from ex-user id:nawani)
Comment by Adobe D.
17263 | June 07, 2013 04:09:52 AM GMT