Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-16642

should disable delete button for old interface policy when editing nncp

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      should disable delete button for old interface policy when editing nncp

      Version-Release number of selected component (if applicable):

      OCP Version: 4.14.0-0.ci.test-2023-07-20-111132-ci-ln-t0b7prb-latest
      knmstate operator version: kubernetes-nmstate-operator.4.14.0-202307191212

      How reproducible:

      100%

      Steps to Reproduce:

      1. setup cluster
      2. install knmstate operator
      3. login web console as administrator, Networking -> NodeNetworkConfigurationPolicy, click create, select from form, create nncp with 1 interface policy, like bridge interface
      4. edit the nncp, click delete button '-' to remove the old bridge interface policy

      Actual results:

      there is confirm window for deleting, although it does not work, the old interface policy will not be removed

      Expected results:

      should disable the delete button for the old interface policy, should not be allowed to remove it

      Additional info:

       

              upalatuc@redhat.com Ugo Palatucci
              rh-ee-qiowang Qiong Wang
              Qiong Wang Qiong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: