[BUG][ColdBox 4.0.0] aroundHandler bug

I’m trying to port an old coldbox app to 4.0.0.

I use an handler that extends a BseRest.cfc with an aroundHandler:

`

/**

  • I am a new handler
    */
    component extends=“BaseRest” {

// OPTIONAL HANDLER PROPERTIES
this.prehandler_only = “”;
this.prehandler_except = “”;
this.posthandler_only = “”;
this.posthandler_except = “”;
this.aroundHandler_only = “”;
this.aroundHandler_except = “”;
// REST Allowed HTTP Methods Ex: this.allowedMethods = {delete=‘POST,DELETE’,index=‘GET’}
this.allowedMethods = {};

function getter(event,rc){
var rc = event.getCollection();
writeDump(var="#rc#",label="");abort;

}

}

`

Baserest.cfc

`

/**

  • I am a baserest handler
    */
    component{

// OPTIONAL HANDLER PROPERTIES
this.prehandler_only = “”;
this.prehandler_except = “”;
this.posthandler_only = “”;
this.posthandler_except = “”;
this.aroundHandler_only = “”;
this.aroundHandler_except = “”;
// REST Allowed HTTP Methods Ex: this.allowedMethods = {delete=‘POST,DELETE’,index=‘GET’}
this.allowedMethods = {};

function aroundHandler(event,targetAction,eventArguments,rc,prc){

}

}

`

When I try this code I get this error:

Oopsy! Something went wrong!Event: seo:Seo.getter

Routed URL: seo/getter/
Layout: N/A (Module: )
View: N/A
Timestamp: 12/16/2014 06:09:12 PM

This has been resolved.

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

ColdBox Platform: http://www.coldbox.org
ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Many thanks Luis.