Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
5.0.0
-
None
Description
The refactoring in made the "unpublished references" dialog not serializable anymore. This causes huge stacktraces when that dialog is opened while Wicket is running in development mode. It's also a code smell, since Wicket assumes that its state is serializable.CMS-10690
Steps to reproduce:
- Start the CMS in Wicket development mode
mvn -Pcargo.run -Dcargo.jvm.args='-Dwicket.configuration=development'
- Create a new document. Don't publish it.
- Create another document with a link to the first one (i.e. an internal link in a rich text field).
- Publish the second document. The "Unpublished references" dialog will pop up.
Expected: no errors logged.
Actual: a huge stack trace is logged (attached it since making it part of the description make the issue longer than 32767 characters, which JIRA does not accept).