Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-21563

[regression] Explorer: Connection or (multiple) application deletion does not work anymore

    Details

    • Steps to Reproduce:
      Hide

      ASSERT: Have more OpenShift 2 application under a domain.
      EXEC: Select more applications.
      EXEC: Try to open context menu.

      RESULT: There is no context menu.
      EXPECTED RESULT: There should be context menu to delete more applications at once.

      Show
      ASSERT: Have more OpenShift 2 application under a domain. EXEC: Select more applications. EXEC: Try to open context menu. RESULT: There is no context menu. EXPECTED RESULT: There should be context menu to delete more applications at once.

      Description

      Previously it was possible to select multiple OpenShift 2 applications and delete them at once via context menu Delete application(s).... Currently there is no such context menu anymore and it is a pain to delete several applications one by one.

      Added by Slava: In my environment, Delete for objects of OpenShift 2 does not work at all (menu is shown, but nothing happens). It seems the cause is a slip in plugin.xml for Openshift 3, handler org.jboss.tools.openshift.internal.ui.handler.DeleteResourceHandler declared activeWhen with <or> (count==1 or instanceof IResource). So, formally having a lot of restrictions but passing them, this handler imposes itself on all selections. Though, it is possible that the bug reveals not in all environments.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  scabanovich Viacheslav Kabanovich
                  Reporter:
                  mlabuda Marián Labuda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: