[1.5.4] Delete Category Error or Bug

When I select to delete any category that comes with the default installation:

Application Execution ExceptionError Type: java.lang.NumberFormatException : 0

Error Messages: For input string: “cbCategory”

LINE: 1249
Template: /opt/railo/tomcat/webapps/ROOT/frameworks/coldbox/system/orm/hibernate/BaseORMService.cfc

Felipe Serrano
[Railo 4]

What is the full railo version

Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions

Hi Luis,

Railo 4.0.4.000 final

The thing is that on CB 1.5.3 I remember having access to all widgets and when I update to 1.5.4 that shows up.

Thanks

I believe this is a bug in railo. I recommend you update

Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions

Hi Luis,

I updated Railo to 4.1.0.011

and now I can see the site ok, but cannot access cbadmin:

Error Messages: too few attributes in function [isEmpty]

LINE: 122
Template: /opt/railo/tomcat/webapps/ROOT/frameworks/coldbox/system/plugins/MessageBox.cfc

Any ideas?

Thanks in advance…

Felipe Serrano

You have an old version of ColdBox. The newer version of railo introduced a built-in-function called isEmpty() which conflicts with a method in the MessageBox plugin. The latest version of ColdBox renamed the method in the plugin.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Where can I get the latest? Im running Codename: 1 John 5:12-13

Thank you Brad

Hmm, that appears to be the latest (3.6), but you can download again off our main download page just to be sure.
http://www.coldbox.org/download

Just replace the coldbox/system directory and make sure you restart CFML engine.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Thank you again Brad,

Question, how do I reset ContentBox? like flush cache, ORM and all… ?

Felipe Serrano

And since I cannot access my admin again, this resetting would be from outside admin… :slight_smile:

Change application name is what I do, but resetting ColdFusion will also do the trick.

after all… now If I try to access the site or admin I get this crazy redirection:

modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/modules/contentbox-dsncreator?CFID=d1bc9314-14ad-4506-b017-2515afa91029&CFTOKEN=0

that is what it does: this happen to me once back a few days, but when I replace all contentbox modules and re-install service was back again, but this time Im kind of worry to do that again, that is why I ask you if there is any other type of resseting, renaming the app, did not take effect. I also download from development branch a new system, railo updated to a bleeding edge.

:frowning:

If you already installed it look in the APplication.cfc for the relocation bit and remove it. Not sure what you did here. Check out the express edition first.

signature0.jpg

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

Ok…

I upload the installer and the dnscreator modules again, try to access the site, a new installation welcome page comes up, I start a new installation checking that I have a datasource already created.
Site is back again.

But… there is always a but:

When try to access Widgets page from look and feel:
Error: No matching Method/Function for String.getPluginName() found

When try to delete a category:
Error Messages: can’t use transaction for datasource and orm at the same time

Hello Luis,

I saw your message, with a “new” install, all went back again, but still some issues, see my previous post…

Thanks