"Internal Error" when deleting BO record

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

"Internal Error" when deleting BO record

Post by Jhstephenson »

I have a parent record with multiple children:. i.e. Case, with children Charges, Hearings, Notes, and several other tables.

If we try and delete a Case, I would expect it to delete all of the children.

But instead we are getting a screen that pops up that just says "Internal Error", no other explanation or error description.

How can I trace this to see what is going on?

Thanks,
Jim
customaware
Posts: 2392
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: "Internal Error" when deleting BO record

Post by customaware »

I assume all the BOs are Owned By Case (single) and are not Owned also by anything else?
And Case Owns Many multiple of all the Child BOs?
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Re: "Internal Error" when deleting BO record

Post by Jhstephenson »

There is one of Case’s children that is also referenced by another BO (Client). Would that be causing the error?

I can understand that if it is.

What I would really like to know is how can an error, that really explains nothing, be traced?
customaware
Posts: 2392
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: "Internal Error" when deleting BO record

Post by customaware »

Not sure but to my mind.....

Owned and Owned By references are used to enforce Cascading Deletes.

If a BO is Owned by more than 1 BO then I would assume that Aware would get confused regarding the cascading delete and might give an error.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: "Internal Error" when deleting BO record

Post by tford »

It would be easy to build a mini-BSV to isolate & test the issue Mark raised.
Tom - V8.8 build 3137 - MySql / PostGres
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Re: "Internal Error" when deleting BO record

Post by Jhstephenson »

It would be easy to build tford. I will see if I can do that this afternoon.
Post Reply