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

Unable to edit secret via console on 4.19.12

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.22.0
    • 4.15.z, 4.17.z, 4.16.z, 4.18.z, 4.19.z, 4.19, 4.20.z, 4.22.0, 4.21.z
    • Management Console
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      When a secret contained both text and binary values, the edit form would fail due to a runtime error. The stringData initialization was returning null when any binary field was detected, breaking text field handling. Now binary fields are skipped during stringData initialization while text fields are preserved, allowing proper editing of mixed-type secrets.
      Show
      When a secret contained both text and binary values, the edit form would fail due to a runtime error. The stringData initialization was returning null when any binary field was detected, breaking text field handling. Now binary fields are skipped during stringData initialization while text fields are preserved, allowing proper editing of mixed-type secrets.
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-62611. The following is the description of the original issue:

      Description of problem:

      On OpenShift 4.19.12, editing a Secret from the console fails when the Secret contains both a text value and an image value. 
      The issue does not occur if the Secret contains only text values or only image values.

      Steps to reproduce:

      1: Create a secret containing image and text
      2: Try editing them via console

              jhadvig@redhat.com Jakub Hadvig
              rhn-support-harspati Harshada Patil
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: