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

Daniel Keir Haywood updated CAUSEWAY-3518:
------------------------------------------
    Description: 
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() \{ ... }

  was:
this only happens the very first time.

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.

In fact, because of the NavigabilityFacet, this button shouldn't really be 
shown at all.

        Summary: [simpleapp], navigability facet - isn't suppressing actions; 
error first time clicked  (was: [simpleapp], navigability facet - click on 
'recent commands' first time, returns 404)

> [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)

Reply via email to