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
"Internal Error" when deleting BO record
-
- Posts: 297
- Joined: Wed Apr 22, 2015 11:44 pm
-
- Posts: 2403
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: "Internal Error" when deleting BO record
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?
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....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
-
- Posts: 297
- Joined: Wed Apr 22, 2015 11:44 pm
Re: "Internal Error" when deleting BO record
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?
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?
-
- Posts: 2403
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: "Internal Error" when deleting BO record
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.
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....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Re: "Internal Error" when deleting BO record
It would be easy to build a mini-BSV to isolate & test the issue Mark raised.
Tom - V8.8 build 3137 - MySql / PostGres
-
- Posts: 297
- Joined: Wed Apr 22, 2015 11:44 pm
Re: "Internal Error" when deleting BO record
It would be easy to build tford. I will see if I can do that this afternoon.