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

Port forwarding: Free ports for port forwarding are cached even though dialog was canceled

    XMLWordPrintable

Details

    • Hide

      ASSERT: Have an application with pod suitable for port forwarding and set up OC binary in OpenShift 3 preference page.
      EXEC: Open Port forwarding dialog.
      ASSERT: Checkbox to use free ports is disabled and default ports are used.
      EXEC: Click the checkbox.
      ASSERT: Free ports are used for services shown in table.
      EXEC: Close dialog either by pressing Esc or toggling cross button.
      EXEC: Open port forwarding dialog.

      RESULT: The checkbox is unchecked but free ports are still used.
      EXPECTED RESULT: The checkbox is unchecked and default ports are used.

      Show
      ASSERT: Have an application with pod suitable for port forwarding and set up OC binary in OpenShift 3 preference page. EXEC: Open Port forwarding dialog. ASSERT: Checkbox to use free ports is disabled and default ports are used. EXEC: Click the checkbox. ASSERT: Free ports are used for services shown in table. EXEC: Close dialog either by pressing Esc or toggling cross button. EXEC: Open port forwarding dialog. RESULT: The checkbox is unchecked but free ports are still used. EXPECTED RESULT: The checkbox is unchecked and default ports are used.

    Description

      In Port forwarding dialog there is a checkbox to use free ports for port forwading. Upon checking this checkbox, free port are used in a table showing services. If user check the checkbox, free ports are used but then cancel the dialog either by pressing Esc or close the dialog, the state of checkbox is cached. If then user opens a dialog again checkbox is not checked but dialog is behaving like it is, because there are used free ports for port forwading. It forces user to check checkbox again, it finds another free ports and then uncheck it to get to default state.

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            mlabuda_jira Marián Labuda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: