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

Drag and Drop new file into Import YAML editor will copy old content then append

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • Rejected
    • None
    • Done
    • Bug Fix
    • Hide
      * Before this update, importing multiple files in the YAML editor copied the existing content and appended the new file, which created duplicates. With this release, the import behavior is fixed. As a result, the YAML editor displays only the new file content without duplication. (link:https://issues.redhat.com/browse/OCPBUGS-45297[OCPBUGS-45297])
      Show
      * Before this update, importing multiple files in the YAML editor copied the existing content and appended the new file, which created duplicates. With this release, the import behavior is fixed. As a result, the YAML editor displays only the new file content without duplication. (link: https://issues.redhat.com/browse/OCPBUGS-45297 [ OCPBUGS-45297 ])
    • None
    • None
    • None
    • None

      Description of problem:

      before appending new file content, we copied old file content

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

      4.18.0-0.nightly-2024-11-30-141716    

      How reproducible:

      Always    

      Steps to Reproduce:

          1. click 'Import YAML' for one project
          2. Drag & Drop one file into YAML editor
          3. Drag & Drop another file into YAML editor
          

      Actual results:

      3. before append new file content, old content is copied again so that old files will appear twice in the YAML editor    

      Expected results:

      3. Do not copy old file content, just append new files content    

      Additional info:

          

              rh-ee-jaclee Jackson Lee
              rhn-support-yapei YaDan Pei
              None
              None
              Sanket Pathak Sanket Pathak
              Jocelyn Sese Jocelyn Sese
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: