Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Resolved
-
2.0.0-M7
-
None
Description
When creating a new entity from a menuaction and one of the mandatory parameters based on a TEXTfield is left empty, ISIS will throw an exception:
java.lang.IllegalArgumentException: Parameter message can't be null
at org.apache.wicket.feedback.FeedbackMessage.<init>(FeedbackMessage.java:123) ~[wicket-core-8.13.0.jar:8.13.0]
at org.apache.wicket.feedback.FeedbackMessages.error(FeedbackMessages.java:151) ~[wicket-core-8.13.0.jar:8.13.0]
at org.apache.wicket.Component.error(Component.java:1214) ~[wicket-core-8.13.0.jar:8.13.0]
at org.apache.isis.viewer.wicket.ui.util.Wkt$18.error(Wkt.java:592) ~[isis-viewer-wicket-ui-2.0.0-M7.jar:2.0.0-M7]
Rootcause org.apache.isis.viewer.wicket.ui.util.Wkt calls the wrong error method (from Component instead of FormComponent) for both textFieldWithConverter and passwordFieldWithConverter. Provided a fix.
Attachments
Issue Links
- links to