Cannot Reproduce
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Luis MajanoLuis MajanoReporter
Brad WoodBrad WoodComponents
Affects versions
Priority
Major
Details
Details
Assignee
Luis Majano
Luis MajanoReporter
Brad Wood
Brad WoodComponents
Affects versions
Priority
Sentry
Sentry
Sentry
Created January 28, 2016 at 11:17 PM
Updated March 26, 2017 at 4:46 PM
Resolved September 21, 2016 at 9:23 PM
The InterceptorService always adds virtual inheritance regardless of whether the interceptor extends the base class already. if the interceptor has no init, or has an init that calls super.init(), this causes the super init to be ran twice. Once as part of virtual inheritance and another time as part of the standard CFC building.
For apps that use application helpers, this causes the "Routines cannot be declared more than once." error as application helpers are getting mixed twice.
The interceptor service needs to check and not add virtual inheritance if the interceptor already extends the base class.