LPS-34791

Hey Matt,

This is more consistent now and tested in Kaleo. Here also are the points I will put on the LPS ticket.

1. A stacktrace is no longer thrown when parent pages are sent to the recycle bin, the child page will now follow the parent page to the recycle bin and vice versa when restored the same as when a parent page is deleted so the child page is also deleted.

2. If a parent page is sent to the recycle bin(then deleted) or deleted and the child page is being reviewed(Kaleo) the Child page will lose the parent link, but remain in the portal so the creator of the child page does not lose content if someone else deletes the parent page, since they might not be able to view the child page or see it is in review.

3. If a Parent page and child page are sent to the recycle bin and the child page is restored, deleting the parent page will remove the link from the child page instead of deleting it, since the user may just want to keep the child page.