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

[UI] Empty values section in Results pane should not be rendered

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem: The Values field in the Results pane in MTA7 is unpopulated but the key appears anyway: 

       

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy orchestrator v1.4.0-rc9

      2. Deploy workflow that does not populate values field in Results, like MTA7 

      3. Execute workflow and look at results

      Actual results: The Values" field is unpopulated and empty

      Expected results: Field should not appear if not filled

      Additional info:
      HTTP response from the workflow:

      {
          "instance": {
              "id": "7108165f-b943-4571-9e8d-cbbc34a889b1",
              "processId": "mta-analysis-v7",
              "processName": "MTA v7.x Analysis",
              "description": "Workflow to execute MTA Analysis",
              "serviceUrl": "http://mta-analysis-v7.sonataflow-infra",
              "businessKey": null,
              "error": null,
              "category": "assessment",
              "start": "2025-02-04T14:16:51.108Z",
              "end": "2025-02-04T14:19:21.45Z",
              "duration": "3 minutes",
              "workflowdata": {
                  "result": {
                      "message": "MTA v7.x analysis completed for https://github.com/rhdh-orchestrator-test/java-class-test",
                      "outputs": [
                          {
                              "key": "MTA Analysis Result URL",
                              "value": "https://mta-openshift-mta.apps.titan90-cluster-0.qe.lab.redhat.com/hub/applications/28/analysis/report",
                              "format": "link"
                          },
                          {
                              "key": "Migration Wave Ticket URL",
                              "value": "",
                              "format": "link"
                          }
                      ],
                      "nextWorkflows": [
                          {
                              "id": "m2k",
                              "name": "Move2Kube workflow"
                          }
                      ]
                  },
                  "response": [
                      {
                          "id": "d7df1ba3-e1b0-4b09-b921-0bb9e5fbb656",
                          "user": "user:default/guest",
                          "origin": "orchestrator",
                          "created": 1738678761.618,
                          "payload": {
                              "link": "https://mta-openshift-mta.apps.titan90-cluster-0.qe.lab.redhat.com/hub/applications/28/analysis/report",
                              "title": "MTA analysis completed",
                              "topic": "MTA Analysis Workflow",
                              "severity": "normal",
                              "description": "MTA analysis is completed and the report for https://github.com/rhdh-orchestrator-test/java-class-test is ready."
                          }
                      }
                  ], 

              rh-ee-lsoffer Lior Soffer
              yfirst Yona First
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: