Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3518

[NOT A PROBLEM] [simpleapp], navigability facet - isn't suppressing actions; error first time clicked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.0.0-RC1
    • 2.0.0-RC2
    • Core, Starters & Mavendeps
    • None

    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:

       

      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() { ... }

      Attachments

        1. image-2023-07-04-22-40-56-173.png
          134 kB
          Daniel Keir Haywood

        Activity

          People

            hobrom Andi Huber
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: