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

DMN Editor: Include model doesn't work in a multi-workspace situation on VS Code #602

Open
Tracked by #1762
yesamer opened this issue Oct 5, 2023 · 4 comments
Open
Tracked by #1762
Labels
area:dmn Related to DMN area:tools Issues affecting Apache KIE tooling projects type:bug Something is behaving unexpectedly

Comments

@yesamer
Copy link

yesamer commented Oct 5, 2023

in some conditions, the Included Model tab doesn't correctly retrieve the list of the DMN files present in the DMN's directory.
That happens when opening the Project as a workspace / multi-workspace.
In macOS, it seems it doesn't reproduce.

https://kie.zulipchat.com/#narrow/stream/232676-kogito/topic/combine.20DMN

https://issues.redhat.com/browse/KOGITO-7116

@yesamer yesamer added type:bug Something is behaving unexpectedly area:dmn Related to DMN area:tools Issues affecting Apache KIE tooling projects labels Oct 5, 2023
@tiagobento tiagobento self-assigned this Oct 19, 2023
@tiagobento tiagobento changed the title DMN Editor: Include model doesn't work in a multi-workspace situation DMN Editor: Include model doesn't work in a multi-workspace situation on VS Code Oct 23, 2023
@tiagobento
Copy link

@yesamer We made several changes to the VS Code Extensions with

Would you be so kind and re-test it using VSIXs built from main? You can download them from the build artifacts without having to build everything from source if you want... (E.g., from here: /~https://github.com/apache/incubator-kie-tools/actions/runs/8360517393... scroll all the way down and download the Linux__build-artifacts for example. The VSIXs will be inside dist folders)

@tiagobento tiagobento assigned Josephblt and unassigned tiagobento Mar 20, 2024
@yesamer
Copy link
Author

yesamer commented Mar 21, 2024

@tiagobento It seems to me it doesn't reproduce any longer, but I noticed some strange behavior here. I will eventually create a new ticket and close this one.

@yesamer yesamer closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
@yesamer
Copy link
Author

yesamer commented Mar 21, 2024

@tiagobento Reopening - the bug occurred in Windows only, I checked in macOS and it works.

@gbuckholtz
Copy link

I am using 999-SNAPSHOT and this problem still exists:

I am using MacOS.
It took some time to boil this one down but that is what is happening. I have a multi-root workspace and when I open a dmn file with an included model, it says that there are 0 rules in it. Additionally, I can't re-add the included model, the dropdown can't find it. The same sort of thing goes with the scesim, it can't find the associated dmn when opened in in a workspace and I can't re-choose the dmn because it doesn't show up in the dropdown list.

All these problems go away when I open the project explicitly and not part of a workspace. The only thing that changes in my test is viewing project directly and opening the workspace. No files were altered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dmn Related to DMN area:tools Issues affecting Apache KIE tooling projects type:bug Something is behaving unexpectedly
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants