[
https://issues.apache.org/jira/browse/CAUSEWAY-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber updated CAUSEWAY-3532:
---------------------------------
Summary: [Regression] Loading an EntityPage when Object-Not-Found results
in HTTP 500 (JDO+JPA) (was: [Regression] Loading an EntityPage (JDO) when
Object-Not-Found results in HTTP 500)
> [Regression] Loading an EntityPage when Object-Not-Found results in HTTP 500
> (JDO+JPA)
> --------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3532
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3532
> Project: Causeway
> Issue Type: Bug
> Components: Core, Viewer Wicket
> Affects Versions: 2.0.0-RC2
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC3
>
>
> There is an asymmetry with JdoEntityFacet vs JpaEntityFacet, where on object
> not found during fetch, we either throw an ObjectNotFound exception (JDO) or
> return _null_ (JPA).
> It seems Wicket Viewer does not handle both cases consistently. The expected
> behavior is to show an Object-Not-Found error page (instead of a Server 500
> or Server 404).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)