You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Martin Hesse (Jira)" <ji...@apache.org> on 2022/06/13 16:52:00 UTC

[jira] [Created] (ISIS-3075) Throwing an IllegalArgumentException should display ErrorPage

Martin Hesse created ISIS-3075:
----------------------------------

             Summary: 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
         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.7#820007)