Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-6214

Edit Deployment form do not allows saving when ImageStreamTag is used (default import from git flow)

XMLWordPrintable

    • False
    • False
    • 0
    • Undefined
    • Not Supported
    • ODC Sprint 205
    • Medium

      Description of problem:

      When the user imports an application from a git repository and edit the Deployment (via Edit Deployment, not Edit <application-name>) the save button is always disabled and do not allow the user saving her or his changes.

      Prerequisites (if any, like setup, operators/versions):

      None

      Steps to Reproduce

      1. Switch to developer perspective, add page, import from git
      2. Enter a git URL and create the Deployment
      3. Right click the Deployment in topology and select "Edit Deployment"
      4. Option is "Deploy image from an image stream tag" is enabled and the ImageStreamTag is selected.

      Actual results:

      1. When changing deployment strategy to "Recreate", the form could not be saved.
      2. When uncheck "Deploy image from an image stream tag" the form can be saved.

      Expected results:

      1. The form should be also be saved when "Deploy image from an image stream tag" is checked.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      4.9 (tested with console commit 10da2737b412748a75ca1c9e38eb14b83b71cab6)
      4.9 (tested with console commit 5a737899a3b96b21f99f545dd546671a21c1ffab)

      Additional info:

      The internal formik errors state says:

      {
        "formData": {
          "isi": {
            "name": "Required"
          }
        }
      }
      

        1. always-disabled-save-button.gif
          1.20 MB
          Christoph Jerolimov
        2. Screen Recording 2021-08-02 at 10.20.59 PM.mov
          8.39 MB
          Divyanshi Gupta

              divgupta Divyanshi Gupta
              cjerolim Christoph Jerolimov
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: