Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/09/2016
Components: Scheduler
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Major / Unknown
Locale/System: English / Win All
Vote Count: 0
A task w/ a handler cannot be updated via CF Admin
Steps to reproduce:
1) run the code below
2) on CF Admin's Scheduled Tasks page, click the "myTask" task
3) on the Add/Edit Scheduled Task page, click the "Submit" button
4) see red error text at the top of the page:
----------------------
An error occured (should be occurred) scheduling the task.
Invalid eventhandler.
Error: Eventhandler MyCFC could not be found.
----------------------
index.cfm
-----------
<cfscript>
cfschedule(action="update", task="myTask", url="http://a.com", interval="daily", startdate=createDate(2015,9,29), starttime="00:00 AM", eventhandler="MyCFC");
</cfscript>
MyCFC.cfc
-----------
component implements="CFIDE.scheduler.ITaskEventHandler" {
public boolean function onTaskStart(struct context) {return true;}
public void function onTaskEnd(struct context) {}
public void function onMisfire(struct context) {}
public void function onError(struct context) {}
public void function execute(struct context) {}
}
I reported this issue during Zeus beta: "Tasks w/ handlers can only be edited via CF Admin, if CF Admin was accessed via the same domain that the handler CFC resides in."
Now that Raijin does not add the /CFIDE virtual directory for each site, this issue can no longer be ignored.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126563
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Attachments:
Comments: