[
https://issues.apache.org/jira/browse/CAUSEWAY-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood updated CAUSEWAY-3736:
------------------------------------------
Fix Version/s: (was: 2.1.0)
(was: 3.1.0)
> [RO] Returns 404 for empty List (while should 200)
> --------------------------------------------------
>
> Key: CAUSEWAY-3736
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3736
> Project: Causeway
> Issue Type: Question
> Components: Viewer RO
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Daniel Keir Haywood
> Priority: Major
>
> Dan:
> I tracked down the issue I think ... there's a method called route(...) where
> we pass in a PackedManagedObject that wraps the empty List (or rather, Can at
> this stage), but what we get out is an EMPTY ManagedObject. The RO viewer
> then interprets that as a 404.
> [..] the behaviour is because route(...) calls in turn
> ManagedObjects.isNullOrUnspecifiedOrEmpty(...) [line 70]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)