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

[1.3] Sonata returns error status for execute workflow with bad input, even though the instance is created

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Proposed

      Description of the problem:
      When a workflow is created with bad input, an error pops in the workflow creation screen, implying that the instance was not created (you can still click Run on the bottom at it brings you to the same place). The UI does not navigate to the new instance screen:

      The error is the following:
       

      Error:
      Error
      
      Message:
      Request POST http://m2k.sonataflow-infra/m2k failed with: StatusCode: 404 StatusText: Not Found 
      
      Stack Trace:
      Error: Request POST http://m2k.sonataflow-infra/m2k failed with: StatusCode: 404 StatusText: Not Found at d (https://backstage-backstage-rhdh-operator.apps.edge122-cluster-0.qe.lab.redhat.com/api/scalprum/janus-idp.backstage-plugin-orchestrator/static/exposed-OrchestratorPlugin.ab24a2b3.chunk.js:1:16291) at u.executeWorkflow (https://backstage-backstage-rhdh-operator.apps.edge122-cluster-0.qe.lab.redhat.com/api/scalprum/janus-idp.backstage-plugin-orchestrator/static/exposed-OrchestratorPlugin.ab24a2b3.chunk.js:1:17177) at async https://backstage-backstage-rhdh-operator.apps.edge122-cluster-0.qe.lab.redhat.com/api/scalprum/janus-idp.backstage-plugin-orchestrator/static/7719.9c6146b0.chunk.js:1:15251

       

      The instance was created, however, and can be seen by navigating to the Workflow instances screen.

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy orchestrator using the following plugins version: https://github.com/parodos-dev/orchestrator-plugins-internal-release/releases/tag/1.3.0-rc.1

      2. Execute M2K with invalid input

      Actual results: See above. The workflow instance is created, but the UI does not navigate to it.

      Expected results: The UI should navigate to the created instance.

              brotman@redhat.com Bat-Zion Rotman
              yfirst Yona First
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: