The following entity model will produce a stackoverflow when order_inserts is true and trying to insert a bookstore having one book having one comment and one comments.
{noformat} BookStore -> Book ->1 Comment \->* Comment {noformat}
The stackoverflow is produced from the ActionQueue#InsertActionSorter.hasParent which seems to never find a fitting parent or root parent. A simple fix is to have this recursive call check if the current parent has been processed before.
Note: * If the book is persisted instead of he bookstore the insertion is successful. * If either the single comment or the comment list is not set the insertion is successful
|
|