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

[VSCode Extensions] Exporting SVGs to projects in different drives on Windows fails

XMLWordPrintable

    • False
    • None
    • False
    • Hide

      Opening a project file (bpmn, dmn or even swf files) in a different drive (F:/ for example) than the one where VSCode is installed, and then trying to export the SVG will fail.

      Show
      Opening a project file (bpmn, dmn or even swf files) in a different drive (F:/ for example) than the one where VSCode is installed, and then trying to export the SVG will fail.
    • 2022 Week 08-10 (from Feb 21), 2022 Week 11-13 (from Mar 14)

      Bug was reported via this StackOverflow question.

      Opening a project file (bpmn, dmn or even swf files) in a different drive (F:/ for example) than the one where VSCode is installed, and then trying to export the SVG will fail.

      When resolving the path, NodeJS (or VSCode own FS) will append the new drive path to the VSCode installation path.

      A workaround is to add a forward slash before the `fileDirname` variable.

              tgoncale@redhat.com Thiago Lugli (Inactive)
              tgoncale@redhat.com Thiago Lugli (Inactive)
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: