Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom WorkItemDefintions loading broken in Editor v10 on Git repos #1800

Open
agrz opened this issue Feb 4, 2025 · 0 comments
Open

Custom WorkItemDefintions loading broken in Editor v10 on Git repos #1800

agrz opened this issue Feb 4, 2025 · 0 comments

Comments

@agrz
Copy link

agrz commented Feb 4, 2025

Hi,

recently a very strange error started to occur in the Kogito 10 release BPMN Editor that worked quite fine before. I know there are plans to replace the wid mechanism with something else, but in the current v10 this is still the way to use custom task elements in the editor and needed for any extension to be used in BPMN. This worked until recently with the same version of the Kogito plugin.

Environment:
Mac OS 15.2
VSCode 1.96.4
Kogito Extension Bundle Version 10
Reproducible on multiple different machines
Same behavior is also reproducible with older versions of the Kogito Extension

Description
The loading of custom workitem definitions from the global folder is no longer working in the vscode plugin if there is a .git folder in the opened project root.

Steps to reproduce

  • Have a git repository cloned to the local file system (i.e. see sample repo I created: https://github.com/newwork-software/kogito-bpmn-editor-error)
  • Have a global folder with a .wid file (i.e. RestWorkItem from Kogito examples )
  • In VSCode use open folder and select the cloned repository
  • Open a bpmn process file in the Kogito BPMN extension (src/main/resources/numbers.bpmn)
  • Click on the custom task palete icon (cog symbol)

Expected result
The Rest workitem shows in the custom tasks.

Image

Actual result
The custom tasks only show the milestone task but with only a dummy icon.

Image

If you go into the .git folder and rename the index file to index_ then close and reopen the bpmn editor, the custom task shows as expected. Same if you open a project without a .git folder.

Best regards,

Alexander

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant