Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1626

Confirmation Dialog not shown on no-parameter Menu Actions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.14.0
    • Fix Version/s: 1.15.0
    • Component/s: Core: Viewer: Wicket
    • Labels:
      None

      Description

      No-Parameter Menu Actions annotated with any of the 'ARE_YOU_SURE' semantics will not produce the expected confirmation dialog when you click on the corresponding menu item.

      SimpleObjectMenu.java
      @Action(semantics = SemanticsOf.NON_IDEMPOTENT_ARE_YOU_SURE) 
      public List<SimpleObject> test() {
              return simpleObjectRepository.listAll();
      }
      

      Steps to reproduce:
      Take the simple-app artifact 1.14 and add the test snipped from above to the SimpleObjectMenu.

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              hobrom Andi Huber
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: