Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-2430

Object passed instead of string when choosing sendCertificatesAs in dynamic course select workflow

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem:
      When choosing anything in the "Send certificate via" dropdown in the "dynamic course select" workflow, the workflow fails to execute with the following error:

      HTTP POST request to http://dynamic-course-select.sonataflow-infra/dynamic-course-select failed.
      Status Code: 400
      Status Text: Bad Request
      Message: There are JsonSchema validation errors:
      $.sendCertificatesAs: string found, object expected 

      According to dev:
      It's a bug in the workflow, there should be string type here: https://github.com/rhdhorchestrator/orchestrator-demo/blob/main/06_form-widget-dem[…]xampleWorkflows/schemas/dynamic-course-select__main-schema.json
      Since the HTTP server handles that as a string:
      https://github.com/rhdhorchestrator/orchestrator-demo/blob/main/06_form-widget-demo/http-workflow-dev-server/httpServer.dynamic.course.select.js#L165

       

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy operator  1.6.0-rc7 with rc11 plugins

      2. Deploy dynamic course select workflow

      3. Choose anything in the "Send certificate via" dropdown, and click Run.

      Actual results: See above

      Expected results: Workflow should run normally.

              mlibra@redhat.com Marek Libra
              yfirst Yona First
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: