Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-385

Dev-ui not painting data entering form for a workflow with dataInputSchema that contains enums

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 1.33.0, 1.34.0
    • None
    • False
    • None
    • False

      Opening this issue for investigation:

      When we have a workflow that uses a dataInputSchema that contains fields of type enum, the Dev-ui is not showing the corresponding form when we try to create a new insance.
      However, in the swagger-ui we can see that the dataInputSchema is taken.

      Is it expected that the Dev-UI should print the form when there are enum fields?

      Steps to reproduce:

      1) in the zip file we have a workflow wait-on-error that uses a dataInputSchema.
      Unzip the file in a local directory and deploy the workflow using kn-workflow-cli

      kubectl create namespace test2

      kn workflow deploy --namespace test2

      2) Go to the corresponding Dev-UI screen / workflows definitions list and try to create a new WF instance.
      When the corresponding form is displayed an empty form will be shown. And the button to "submit" is not present.

      However with the swagger-ui we can create instances and the validation works as expected.
      Looks like "enum" fields are not being painted or produced an error?
      This what needs investigation.

      Other simpler forms works fine.

        1. DevUI-ShowsNoForm.png
          77 kB
          Walter Medvedeo
        2. Swagger-UI-PicksDataInputSchemaAndRuntimesToo1.png
          72 kB
          Walter Medvedeo
        3. Swagger-UI-PicksDataInputSchemaAndRuntimesToo2.png.png
          107 kB
          Walter Medvedeo

              fabrizio.antonangeli Fabrizio Antonangeli
              wmedvede@redhat.com Walter Medvedeo
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: