Expected Behaviour
In the menu editor deleting a submenu that contains pages should delete all articles, block, components and courseasset records for those pages. The menu editor view should also render correctly.
Actual Behaviour
Records for contentObject, article, block and component are removed. However courseasset records for components containing media assets are not removed, leaving orphaned records.
Also the menu editor display is not correct:

Steps to Reproduce
- Create a course with a submenu
- Add a page to that submenu that contains a media/graphic component with corresponding asset selected.
- Delete the submenu using either the trash button or cog/delete.
Versions
- Authoring Tool Version: tag/v0.4.1-rc.1
- Framework Version: v2.2.3
- Operating System: Mac OS 10.13.2
- Browser: Chrome 63
Expected Behaviour
In the menu editor deleting a submenu that contains pages should delete all articles, block, components and courseasset records for those pages. The menu editor view should also render correctly.
Actual Behaviour
Records for contentObject, article, block and component are removed. However courseasset records for components containing media assets are not removed, leaving orphaned records.
Also the menu editor display is not correct:

Steps to Reproduce
Versions