You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a Registry Page and give it a Data Class of an object that implements RegistryDataInterface, save or publish the page, then remove the interface from that class, the page throws an exception in CMS preview and the frontend.
When you save the page in the CMS it then resets the data class to null and renders "No content".
Kind of edge case behaviour, but we should probably check if the data class implements the RegistryDataInterface before trying to use it, and otherwise render the "No content" message.
The text was updated successfully, but these errors were encountered:
CWP 2.3.x-dev
If you create a Registry Page and give it a Data Class of an object that implements RegistryDataInterface, save or publish the page, then remove the interface from that class, the page throws an exception in CMS preview and the frontend.
When you save the page in the CMS it then resets the data class to null and renders "No content".
Kind of edge case behaviour, but we should probably check if the data class implements the RegistryDataInterface before trying to use it, and otherwise render the "No content" message.
The text was updated successfully, but these errors were encountered: