Reported in the Community Expedition.
Steps to reproduce:
1. Add a Web Content Display portlet to a page
2. Undeploy the Web Content Display module (journal/journal-content-web)
3. Assert that the portlet is now shown with the message "This portlet has been undeployed..."
Expected behavior: The portlet can be removed from the page through the delete option in the portlet header menu.
Current behavior: The portlet header menu is not shown and there's no way to remove the portlet from the page.