tracker issue : CF-3731802

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

Scheduled task renaming creates a new one

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Tom Jenkins / Tom Jenkins (tomarse)

Created: 03/27/2014

Components: Administrator

Versions: 9.0.1

Failure Type: Enhancement Request

Found In Build/Fixed In Build: 9.0.1 / 2018.0.02.312829

Priority/Frequency: Major / All users will encounter

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

Vote Count: 0

Problem Description: When you rename a currently existing scheduled task, it creates a brand new one. Also renaming the scheduled task to an existing names scheduled task, overrides the second existing. This works with also adding a brand new scheduled task that happens to have the same name as an existing.

Steps to Reproduce: Create one scheduled task. Edit this scheduled task and give it a new name. Save and it will create a new scheduled task.

Create a new scheduled task that has the same name as an existing scheduled task. It will override.

Actual Result: Overridden scheduled tasks or new scheduled task depending on the problem as a above.

Expected Result: Some form of validation to check for existing scheduled tasks. Basic stuff. Seems to be based on the scheduled task title not a unique identity.

Any Workarounds:

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

Watson Bug ID:	3731802

Reason:	BugVerified

External Customer Info:
External Company:  
External Customer Name: tomarse
External Customer Email:  
External Test Config: My Hardware and Environment details: CF 9,0,1,274733, update level chf9010004.jar, Java version 1.7.0_03, Windows Server 2008



We can show a warning in case of name clash . If users agree, we can go ahead and override the task
Comment by Uday O.
13004 | May 05, 2014 02:15:18 AM GMT
Added 2 new actions CREATE and MODIFY UPDATE action remains the same CREATE will create a fresh new task. If task already exists, it will thrown an error MODIFY will modify existing task while retaining its old values. If task does not exist, it will throw an error
Comment by Uday O.
30589 | July 18, 2018 12:09:42 PM GMT