tracker issue : CF-3934370

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

[ANeff] Bug for: <cfschedule> vs CF Admin wrt Admin API's findTask()

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 02/04/2015

Components: Scheduler

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / Some users will encounter

Locale/System: ALL / Platforms All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on September 05, 2019 using build 2016.0.01.298513
When task is created via <cfschedule>, Admin API's findTask() omits some details.
When task is created via CF Admin, Admin API's findTask() returns all details.

Steps to reproduce:

1) Create this task in CF Admin:
Name = myTaskFromCFAdmin
StartDate = 02/04/2015
Recurring = Daily at 12:00 AM
URL = http://www.coldfusion.com

2) Run this:

<cfschedule action="update" task="mytaskFromCFSchedule" url="http://www.coldfusion.com" interval="daily" startdate="2/4/2015" starttime="12:00 am">
<cfscript>
  new CFIDE.adminapi.administrator().login(myPassword, myUsername);
  obj = new CFIDE.adminapi.scheduler();
  CFAdminKeys = structKeyList(obj.findTask(mode="server", group="default", task="myTaskFromCFAdmin"));
  CFScheduleKeys = structKeyList(obj.findTask(mode="server", group="default", task="myTaskFromCFSchedule"));
  omittedKeys = listFilter(CFAdminKeys, function(CFAdminKey) {
	  return !listFindNoCase(CFScheduleKeys, CFAdminKey);
  });
  writeDump(omittedKeys);
</cfscript>

Expected result: [empty string]

Actual result: password,proxy_user,nextfire,proxy_server,remainingCount,request_time_out,username,proxy_password

Bug b/c Admin API's findTask() should never omit details.

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

Watson Bug ID:	3934370

External Customer Info:
External Company:  
External Customer Name: Aaron
External Customer Email:

Attachments:

Comments:

I have verified on dev build and have checked-in test cases as well. I cant check on installed build as there are no builds generated. Test Case Locations for the bugs: CF-3934370: //depot/qa/cf/regression/coretests/scheduler/adminapi/bugs/CF-3934370/
Comment by Suchika S.
8589 | September 24, 2015 07:18:50 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
31286 | September 05, 2019 11:51:57 PM GMT