[coldbox-3.5.0] interceptor preProcess() not firing

upgrading to 3.5 from 3.1.

the interceptors for the host app fire. the interceptors for my modules do not fire. i am using the preProcess point.

this was not an issue in 3.1.

coldfusion is reading the cfc because if i create another method of the same name, it throws an error.

coldbox says the module is loaded.

ive tested this with a built-in interception point and a custom one.

the coldbox debugging info shows that no interceptors are firing in the modules.

i guess the next step is to set up a clean app and see what that does.

in my module config, i have this:

interceptorSettings = {
customInterceptionPoints = “test,onLogin,onSuccessfulLogin,onDeleteUser”
};

is that the correct way to declare points?

in my module config, i have this:

interceptors = [
{name=“security”,class="#moduleMapping#.interceptors.Security",properties={}}
];

changing the name to something other than “security”, fixes the issue. the interceptor now fires.

Are you using 3.5 Final?

Remember interceptors are registered according to their name, so make sure you don’t have conflicts.

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

i am using 3.5 final. changing the name resolved this issue.