tracker issue : CF-3427961

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

Changing Task Name causes CTASK error and tasks deletes itself

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Jerry Cintas / Jerry Cintas (JCintas)

Created: 12/12/2012

Components: Scheduler

Versions: 10.0

Failure Type: Data Loss

Found In Build/Fixed In Build: Final / CF10_Update14

Priority/Frequency: Critical / Some users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 2

Problem Description: If using a password on an existing task and you change the Task Name or Group Name, a CTASK error is produced and the task is deleted.

Steps to Reproduce:
1. Create new task
2. Task Name: Test
3. URL: http://www.adobe.com
4. Password: adobe
Everything else leave as default

Save Task, then go back and change either the Task Name or Group Name.

Actual Result:  You receive this error: "An error occured scheduling the task. Variable CTASK is undefined."  And task gets deleted.

Expected Result:  Task Name or Group Name should change.

Any Workarounds:  None.  Don't change Task Name or Group Name

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

Watson Bug ID:	3427961

External Customer Info:
External Company:  
External Customer Name: JCintas
External Customer Email:  
External Test Config: Using Updater 6 Coldfusion 10 Enterprise, Win 2008 R2, IIS 7.5

Attachments:

Comments:

I forgot to mention that this problem is seen in CF Admin. Haven't verified with CFSCHEDULE. I also have seen this problem in previous Update levels. I started at 4.
Comment by External U.
16945 | December 12, 2012 07:26:05 PM GMT
@Adobe, I wonder if this is related to something I reported earlier awaiting Adobe's response on: "A task in any state (running/paused/expired) becomes silently deleted if it has both an event handler AND a password and is updated via CF Admin via any other site than the site that contains the handler CFC." I thought I'd created a ticket for that, but looks like I hadn't. Anyhow, just mentioning it in case it is related. Thanks, -Aaron
Comment by External U.
16946 | December 14, 2012 05:58:22 AM GMT
+1, just verified. Needs fixed.
Vote by External U.
16953 | December 14, 2012 06:00:10 AM GMT
(copying my post from http://blogs.coldfusion.com/post.cfm/coldfusion-10-update-1-10-0-1-released) Found the bug! That task auto-deletion bug w/ CTASK error msg appears when 15 asterisks are in the password field in Administrator's add/edit task UI. The bug does not affect the cfschedule tag. The bug even exists when creating a new task. To reproduce (using same info you provided earlier) create new task: Task Name: Test URL: http://www.adobe.com Password: *************** Everything else leave as default Save task. Immediately see error "Variable CTASK is undefined". The number of asterisks must be exactly 15. Adobe should be able to take it from here as it is obviously an issue related to task creation rather than task updating (perhaps an issue w/ a behind-the-scenes call to Quartz's Scheduler.rescheduleJob() - that's just a guess and I could be totally wrong there). Anyhow, I see you filed a ticket and will just add a note to it. Workaround, for now, is to always re-enter the password when changing the task's name or group w/in the add/edit task UI. Thanks!, -Aaron
Comment by External U.
16947 | December 17, 2012 03:39:50 AM GMT
This bug *still* exists in Update 11 on CF 10! Adobe, please fix this asap. What is the delay?
Comment by External U.
16948 | September 30, 2013 08:41:36 AM GMT
+2, verified - needs fix.
Vote by External U.
16954 | October 15, 2013 10:09:37 AM GMT
Fixed in 11 ,the change has to be merged in 10
Comment by Suchika S.
16949 | February 11, 2014 02:56:52 AM GMT
Hi Suchika, Splendor Public Beta (build 288464) still throws the "Variable CTASK is undefined" error. Steps to Reproduce: 1) In CF Admin, create this task: Task Name: Test URL: http://www.adobe.com Password: *************** Everything else leave as default 2) See "Variable CTASK is undefined" error Can this ticket please be re-opened? Thanks!, -Aaron
Comment by External U.
16950 | February 28, 2014 02:12:08 AM GMT
The error shows only when this specific password is used. "***************"
Comment by Suchika S.
16951 | February 28, 2014 04:24:09 AM GMT
Hi Suchika, You are exactly right: only when 15 asterisks are used. I just thought it was interesting that no error is thrown for 14 or 16 asterisks. But, for some reason, 15 asterisks throws an error. Anyways, 15 asterisks is not a recommended password =P so I suppose there is no issue. I did verify tasks are not deleted. Perfect! Thanks!, -Aaron
Comment by External U.
16952 | February 28, 2014 05:28:58 AM GMT