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

Updating existing label with a syntax issue deletes the label

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.20.0
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

         When users open the edit labels modal and update and save an existing key with a syntactic issue, causes the existing label to be deleted.

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Create a test deployment
          2. Add a label e.g. test=foo and save
          3. Edit labels of test deployment again and attempt to assign test="fee", save
      
      
      
          

      Actual results:

          The existing label gets deleted.

      Expected results:

          The existing label shouldnt be overwritten when there is problem with syntax.

      Additional info:

          

              rh-ee-mziska Marek Ziska (Inactive)
              rh-ee-mziska Marek Ziska (Inactive)
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: