https://community.ortussolutions.com/t/afterinstancecreation-interceptor-breaks-wirebox-lifecycle/11046/1
The CBWIRE interceptor is breaking the WireBox afterInstanceCreation chain during AJAX requests. In interceptors/CBWIRE.cfc, the afterInstanceCreation() interceptor (pattern ^cbwire.*) returns true. During CBWire AJAX requests (e.g. cbwire:Main.index), this matches and stops the interceptor chain for all WireBox object creations.
This prevents other WireBox lifecycle listeners (like Mementifier) from running. As a result, objects created during CBWire requests are missing expected mixins such as getMemento(), leading to runtime “method not found” errors. It’s unclear if this is intentional, since blocking makes sense for request lifecycle events but not for WireBox object creation events.
https://community.ortussolutions.com/t/afterinstancecreation-interceptor-breaks-wirebox-lifecycle/11046/1
The CBWIRE interceptor is breaking the WireBox afterInstanceCreation chain during AJAX requests. In interceptors/CBWIRE.cfc, the afterInstanceCreation() interceptor (pattern ^cbwire.*) returns true. During CBWire AJAX requests (e.g. cbwire:Main.index), this matches and stops the interceptor chain for all WireBox object creations.
This prevents other WireBox lifecycle listeners (like Mementifier) from running. As a result, objects created during CBWire requests are missing expected mixins such as getMemento(), leading to runtime “method not found” errors. It’s unclear if this is intentional, since blocking makes sense for request lifecycle events but not for WireBox object creation events.