You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2023/07/06 04:20:00 UTC

[jira] [Resolved] (CAUSEWAY-3518) [NOT A PROBLEM] [simpleapp], navigability facet - isn't suppressing actions; error first time clicked

     [ https://issues.apache.org/jira/browse/CAUSEWAY-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Keir Haywood resolved CAUSEWAY-3518.
-------------------------------------------
    Resolution: Not A Problem

I was testing an old version of the framework.

> [NOT A PROBLEM] [simpleapp], navigability facet - isn't suppressing actions; error first time clicked
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3518
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3518
>             Project: Causeway
>          Issue Type: Bug
>          Components: Core, Starters &amp; Mavendeps
>    Affects Versions: 2.0.0-RC1
>            Reporter: Daniel Keir Haywood
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 2.0.0-RC2
>
>         Attachments: image-2023-07-04-22-40-56-173.png
>
>
> start the simpleapp using docker:
> docker run -p 8080:8080 apache/causeway-app-simpleapp:jpa-SNAPSHOT
> login using sven/pass
> click on the "Recent Commands", get error:
> !image-2023-07-04-22-40-56-173.png|width=630,height=326!
>  
> If click it once more, then get an empty collection.
> See the same thing with "Recent Executions".
> ~~~
> But, in fact, because of the NavigabilityFacet, this button shouldn't really be shown at all if the user hasn't got access to the types.
> THEORY: It's possible that the return type of the mixin, as it returns a wildcard, perhaps is something that the navigability facet cannot handle, eg:
> @MemberSupport public List<? extends CommandLogEntry> act() \{ ... }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)