We're updating the issue view to help you get more done. 

Throw useful error when interceptor events are fired while still registering interceptors

Description

For example, if you create an interceptor with a wirebox property injection of a service that fires interception points while initializing, you get an issue where interception points may not fire properly.

The solution in these cases is to use the "provider" DSL when injecting services into your interceptors so that they are not initialized until actually used by the interceptor.

Related Pull request makes Coldbox throw an informative error for the developer when creating interceptors in this way.

Status

Assignee

Luis Majano

Reporter

Dominic Watson

Labels

None

Priority

Major