Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9054

Wrong suffixes in downloaded files from sw-editor-kogito-app

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Run the sw-editor-kogito-app
      2. Load any yaml workflow.
      3. Click "Download the diagram as loaded" (1)
      4. Click Download the diagram as YAML, respectively Download the diagram as JSON for json files. (2)

      Actual result

      (1) The file with name process.sw.json is downloaded.
      (2) The file with name process.sw is downloaded.

      Expected result

      SERVERLESS_WORKFLOW_NAME is taken from workflow's id.
      (1) The file with name $SERVERLESS_WORKFLOW_NAME.sw.yaml is downloaded. For json files, the file with name $SERVERLESS_WORKFLOW_NAME.sw.json is downloaded.
      (2) The file with name $SERVERLESS_WORKFLOW_NAME.sw.yaml, respectively $SERVERLESS_WORKFLOW_NAME.sw.json is downloaded.

      Show
      Run the sw-editor-kogito-app See https://github.com/kiegroup/kie-tools/tree/main/packages/serverless-workflow-diagram-editor/sw-editor/sw-editor-kogito-app Load any yaml workflow. Click "Download the diagram as loaded" (1) Click Download the diagram as YAML, respectively Download the diagram as JSON for json files. (2) Actual result (1) The file with name process.sw.json is downloaded. (2) The file with name process.sw is downloaded. Expected result SERVERLESS_WORKFLOW_NAME is taken from workflow's id. (1) The file with name $SERVERLESS_WORKFLOW_NAME.sw.yaml is downloaded. For json files, the file with name $SERVERLESS_WORKFLOW_NAME.sw.json is downloaded. (2) The file with name $SERVERLESS_WORKFLOW_NAME.sw.yaml, respectively $SERVERLESS_WORKFLOW_NAME.sw.json is downloaded.
    • ---
    • ---

      There are wrong suffixes in downloaded files from sw-editor-kogito-app.

              eignatow Eder Ignatowicz
              lterifaj@redhat.com Lubomir Terifaj
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: