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

schema's input validation displays the warning message "incorrect type. Expected "string"" when creating/editing a helm release

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.13, 4.12, 4.14, 4.15
    • Dev Console
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      schema's input validation displays the warning message "incorrect type. Expected "string"" when creating/editing a helm release.
      In my testing so far, this message seems to appear for items whose schema has an array type or additionalProperties. 

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.Login to the web console for Developer  
          2. Select Helm on the left. 
          3. Create a repository where your custom schema is placed (You can use the test module myhost-0.1.0.tgz uploaded in case 03880130. )
          4. Create Helm Release 
          5. Clear the values in the yaml view and enter the same, or modify one of the values in the yaml view. (retires : 2 -> 3)
      You should see the message "incorrect type. Expected "string"".

      Actual results:

      A warning message is raised for valid schema. 

      Expected results:

          The warning message should not appear. 

      Additional info:

      1. test module=>     myhost-0.1.0.tgz : https://attachments.access.redhat.com/hydra/rest/cases/03880130/attachments/d6a63c89-11b6-4d82-a2bd-125361d7c4e3?usePresignedUrl=true
      2. Warning screen shot: internaltest-incorrecttype-host.png  
      https://attachments.access.redhat.com/hydra/rest/cases/03880130/attachments/b5960d29-b62b-44a7-a2f3-20971db56e8e?usePresignedUrl=true

       

            rh-ee-lprabhu Lokananda Prabhu
            rhn-support-yoeum Yoonhee Eum
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: