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.
The stackoverflow is produced from the ActionQueue#InsertActionSorter.hasParent which seems to never find a fitting parent or root parent. I guess that a simple fix is to have this recursive call check if the current parent has been processed before.
If the book is persisted instead of the bookstore the insertion is successful.
If either the single comment or the comment list is not set on the book the insertion is successful