tracker issue : CF-4195754

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

Cannot schedule tasks which event handler extend a component that inherits "CFIDE.scheduler.ITaskEventHandler"

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Geoffrey Demoulin / Geoffrey Demoulin (Geoffrey Demoulin)

Created: 10/09/2016

Components: Language, CF Component, Scheduler

Versions: 2016,11.0

Failure Type: Crash

Found In Build/Fixed In Build: CF11_Final / 2018.0.0.303784

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Windows 10 64 bit

Vote Count: 2

Problem Description:

When adding a new application task, the task will generate an exception saying "Error: Eventhandler MyEventHandler does not implement required interface" if the component extends another component implementing "CFIDE.scheduler.ITaskEventHandler".

Steps to Reproduce:

Use the attached mini-project.

1/ Create a component implementing "CFIDE.scheduler.ITaskEventHandler": Component1.cfc
2/ Create a component extending "Component1": Component2.cfc
3/ Try to create a scheduled task using "Component2" as the event handler

Actual Result:

An exception is raised: "Error: Eventhandler Component2 does not implement required interface" with message "Invalid eventhandler."

Expected Result:

The Event Handler is accepted since it implements the required interface by inheritance.

Any Workarounds:

As a workaround I found that re-declaring the [implements="CFIDE.scheduler.ITaskEventHandler"] in "Component2" will fix the issue.

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

Watson Bug ID:	4195754

Reason:	BugVerified

External Customer Info:
External Company:  
External Customer Name: Geoffrey Demoulin
External Customer Email:  
External Test Config: My Hardware and Environment details:


  1. October 10, 2016 00:00:00:


Vote by External U.
1665 | November 02, 2016 07:30:21 PM GMT