bug in coldbox-ui.handlers.page (on Railo)

I just found a bug in the page.cfc handler. line 131

throw(message=“The layout of the page: ‘#arguments.page.getLayout()#’ does not exist in the current theme.”,detail="Please verify your page layout settings"type=“ContentBox.InvalidPageLayout”);

There should be a comma before the type attribute.

throw(message=“The layout of the page: ‘#arguments.page.getLayout()#’ does not exist in the current theme.”,detail=“Please verify your page layout settings”, type=“ContentBox.InvalidPageLayout”);

The former works fine on ACF however it blows up my local copy of Railo.

N

Good catch can you submit a ticket for it do I can assign it to the next release

I looked on the git repo and assembla space and I don’t have the correct permissions to add an issue/ticket.

Also, is this another bug? For all the pages I’ve created in ContentBox I have disabled the ability to add comments on the page, however I see this JS output by the framework and it causes a JS error because there is no comments form on the page.

Thanks.

Nolan

Ok try now and yes that is a bug

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

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

Both issues fixed

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