[
https://issues.apache.org/jira/browse/ISIS-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber updated ISIS-3075:
-----------------------------
Fix Version/s: 2.0.0-RC1
(was: 2.0.0-M9)
> Throwing an IllegalArgumentException should display ErrorPage
> -------------------------------------------------------------
>
> Key: ISIS-3075
> URL: https://issues.apache.org/jira/browse/ISIS-3075
> Project: Isis
> Issue Type: Bug
> Components: Isis Persistence JPA, Isis Viewer Wicket
> Affects Versions: 2.0.0-M7
> Environment: JPA
> Reporter: Martin Hesse
> Priority: Major
> Fix For: 2.0.0-RC1
>
> Attachments: image-2022-06-13-23-48-56-870.png,
> image-2022-06-13-23-50-44-870.png
>
>
> This can be reproduced using the demo of the Error Reporting Service in the
> JPA demo app. When clicking on the button "Trigger an Error" a red message is
> shown saying "invalid data access api usage":
> !image-2022-06-13-23-48-56-870.png!
> Instead it should show the viewer error page with the details of the custom
> EmailTicket returned by the ErrorReportingServiceDemoImplementation
> implementation.
> When changing the IllegalArgumentException to a NullPointerException it works
> as expected:
> !image-2022-06-13-23-50-44-870.png!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)