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
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: