[1.2.0] Delete Category

Hello,

I tried to delete a category. I got an exception:

Error Type: database : 0
Error Messages: can’t use transaction for datasource and orm at the same time.

I attached the full exception message.

Cheers

CB Exception.pdf (73.3 KB)

Railo, or CF? Which version?

It looks like this error was reported as Railo bug a while back on our old ticket tracking system:
https://www.assembla.com/spaces/contentbox/support/tickets/237#/activity/ticket:

Oddly enough, it used to be ticket number 4 in our new ticket system according to Google’s cached results, but that ticket appears to be deleted now
https://www.google.com/#hl=en&sclient=psy-ab&q=can’t+use+transaction+for+datasource+and+orm+at+the+same+time+contentbox&oq=can’t+use+transaction+for+datasource+and+orm+at+the+same+time+contentbox&gs_l=hp.3...7432.8832.2.9344.11.10.0.0.0.0.133.1032.5j5.10.0.ckwqrh..0.0...1.1.8.psy-ab.J8x9eDr2_jY&pbx=1&bav=on.2,or.r_cp.r_qf.&bvm=bv.44697112,d.b2U&fp=400548d864cfb0ec&biw=1600&bih=837\

Maybe Luis can help us find out what happened to that ticket.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

Its simple fix … here attached version

ORMUtil.cfc (1.88 KB)

Update, here’s a couple Railo threads talking about the error. Looks like I was part of one of the conversations-- I guess that’s why it seemed to familiar :slight_smile:

https://groups.google.com/forum/?fromgroups=#!topic/railo/88ZcSDlVlBk
https://groups.google.com/forum/?fromgroups=#!topic/railo/fiS6wiQBuEU

Here’s the Railo ticket to fix it (still open)
https://issues.jboss.org/browse/RAILO-1768

Assuming you are on Railo, I would recommend up-voting/commenting on the ticket in Railo’s system and maybe chiming in on a thread to voice your desire for a fix.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

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

Thanks for the very quick answers.

Yes, i have Railo, version 4.0.4.001.

Sana’s CFC does not fix the problem yet. I reloaded ORM, Application, Site and Admin. Maybe a restart of Railo will help.