Title:
CF cannot update task w/in its handler (b/c it forces handler verification)
| View in TrackerStatus/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 04/01/2012
Components: Scheduler
Versions: 2016,11.0,10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Public Beta /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
CF cannot update a task w/in its handler. (Actually, CF cannot update a task from *anywhere* else, if the task uses the eventhandler attribute and is updated via result from action="list".)
The issue is b/c it cannot resolve the dot-notated path from inside the handler (nor if cfschedule is called from any other directory). This verification should be optional.
Thus, once action="list" is fixed to return the dot-notated path, we still cannot use the returned path to update a task w/in the handler (or by calling cfschedule from any other directory).
What I was trying to do was: W/in handler's onError(), increase task’s frequency.
Suggestion: <cfschedule action="update" eventhandler="#dotPathReturnedFromListAction#" verifyhandler="false" ../>
Default for verifyhandler would be true. When false, it would prevent attempt to resolve the eventhandler path. This way we can update the task from w/in the handler (or from any other directory).
(AND, CF Admin should use this for the new "[x]Skip handler verification" checkbox that hopefully will be added beneath the "event handler" input field. As per #3148745.)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3154883
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: