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

vsix file doesn't work correctly

XMLWordPrintable

      visx file generated in kie-tools doesn't work correctly.

      To reproduce it, just try to generate a visx file from the current main version.

      Most probably, the regression was introduced here https://github.com/kiegroup/kie-tools/pull/781/files#diff-ac36964fea2fe0987bfe18a7aeb1aabe7c24e8b46f37ba3fa81fbcb59dfb0b58R34.

      The error stack trace :

      [2022-02-16 15:27:31.433] [exthost] [error] Activating extension kie-group.vscode-extension-pack-kogito-kie-editors failed due to an error:
      [2022-02-16 15:27:31.433] [exthost] [error] ReferenceError: window is not defined
          at /home/yamer/IdeaProjects/kie-tools/packages/vscode-extension-pack-kogito-kie-editors/dist/extension/extension.js:20660:72
          at step (/home/yamer/IdeaProjects/kie-tools/packages/vscode-extension-pack-kogito-kie-editors/dist/extension/extension.js:20620:23)
          at Object.next (/home/yamer/IdeaProjects/kie-tools/packages/vscode-extension-pack-kogito-kie-editors/dist/extension/extension.js:20601:53)
          at /home/yamer/IdeaProjects/kie-tools/packages/vscode-extension-pack-kogito-kie-editors/dist/extension/extension.js:20595:71
          at new Promise (<anonymous>)
          at /home/yamer/IdeaProjects/kie-tools/packages/vscode-extension-pack-kogito-kie-editors/dist/extension/extension.js:20591:12
          at activate (/home/yamer/IdeaProjects/kie-tools/packages/vscode-extension-pack-kogito-kie-editors/dist/extension/extension.js:20637:12)
          at Function._callActivateOptional (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:98:16040)
          at Function._callActivate (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:98:15704)
          at /usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:98:13528
          at processTicksAndRejections (internal/process/task_queues.js:93:5)
          at async Promise.all (index 0)

       

       Same issue spotted also here:

       

              rh-ee-pefernan Pere Fernandez Perez
              yamer@redhat.com Yeser Amer
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: