Title:
Administrator throws errors on managing scheduled task with space at end of name
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Ken Montero / Ken Montero (CFcaptain)
Created: 03/12/2013
Components: Administrator
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 1
Problem Description: Administrator allows creation of scheduled tasks with a space at the end of the name, for instance: "Test ". The space at the end of the name of the scheduled task makes it unable to be managed in administrator.
When selecting the "pause" button, the administrator application displays "The following task could not be found: Test."
When selecting the "delete" button, the administrator displays:
The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.
The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
The following task could not be found: test.
The error occurred in scheduletasks.cfm: line 141
Called from scheduletasks.cfm: line 10
Called from scheduletasks.cfm: line 1
-1 : Unable to display error's location in a CFML template.
--------------------------------------------------------------------------------
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Remote Address 66.201.97.182
Referrer http://xact2.xact-data.com/CFIDE/administrator/scheduler/scheduletasks.cfm?action=pause&task=test%20&group=default&mode=server&csrftoken=EFD290D7D963A46B14600EE2AFA6AD15DD1FF4F4
Date/Time 12-Mar-13 01:21 PM
Stack Trace (click to expand)
at cfscheduletasks2ecfm672758571._factor5(E:/cf10_final/cfusion/wwwroot/CFIDE/administrator/scheduler/scheduletasks.cfm:141) at cfscheduletasks2ecfm672758571._factor31(E:/cf10_final/cfusion/wwwroot/CFIDE/administrator/scheduler/scheduletasks.cfm:10) at cfscheduletasks2ecfm672758571.runPage(E:/cf10_final/cfusion/wwwroot/CFIDE/administrator/scheduler/scheduletasks.cfm:1)
coldfusion.scheduling.SchedulingNoSuchTaskException: The following task could not be found: test.
at coldfusion.scheduling.CronServiceImpl.deleteTask(CronServiceImpl.java:980)
at coldfusion.tagext.lang.ScheduleTag.doActionDelete(ScheduleTag.java:909)
at coldfusion.tagext.lang.ScheduleTag.doStartTag(ScheduleTag.java:712)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799)
at cfscheduletasks2ecfm672758571._factor5(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:141)
at cfscheduletasks2ecfm672758571._factor31(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:10)
at cfscheduletasks2ecfm672758571.runPage(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\scheduler\scheduletasks.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444)
(...)
Steps to Reproduce:
In CF Administrator, select "SERVER SETTINGS" then "Scheduled Tasks". Create a task called "test " without the quotation marks, but ending with a space character. Set the task to run daily at 5:00 AM and set the URL to any arbitrary page (e.g. "http://localhost/index.cfm"). Click "Submit" on the scheduled task. From the Scheduled Tasks list, click the "delete" button.
Actual Result:
Error shown above.
Expected Result:
Task is deleted.
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3518496
External Customer Info:
External Company:
External Customer Name: CFcaptain
External Customer Email:
External Test Config: My Hardware and Environment details:
Server Details
Server Product ColdFusion
Version ColdFusion 10,283649
Edition Enterprise
Operating System Windows Server 2008 R2
OS Version 6.1
Update Level /C:/ColdFusion10/cfusion/lib/updates/chf10000007.jar
Adobe Driver Version 4.1 (Build 0001)
Attachments:
Comments: