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

KOGITO-3718: Importing DMN as Included Model in VS Code on Windows #391

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

tiagobento
Copy link
Contributor

After analysing this issue more carefully, the issue was that, on Windows, the extension was not correctly identifying the current directory of the open file, and it was always falling back to the root of the Workspace.

A workaround for this issue is to always work on the root folder of the Workspace. Keep in mind that even after this fix, only DMNs on the same folder can be used as Included Models.

@ederign
Copy link
Member

ederign commented Jan 21, 2021

@danielzhe can you please help us test this?

Copy link
Contributor

@danielzhe danielzhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fixed. Thank you!

@tomasdavidorg tomasdavidorg requested review from jomarko and removed request for tomasdavidorg January 22, 2021 06:24
Copy link
Contributor

@jomarko jomarko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should contribute also unit test to this

@tiagobento
Copy link
Contributor Author

@jomarko Thanks for the review! VS Code does not provide an easy way for us to unit-test it, so we would have to rely on heavy mocking to write them at the moment. We're researching what's the best way to approach unit tests for our VS Code Extension yet, but so far we don't have anything in place. This is something very important that will be addressed as soon as we have the resources to do so.

Copy link
Contributor

@jomarko jomarko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found new issue during review

Next I decided to prepare an automated test

I listed PRs that block from merging it. Please Prioritize them.

@tiagobento tiagobento merged commit 891b9e7 into apache:master Jan 25, 2021
adrielparedes pushed a commit to adrielparedes/kogito-tooling that referenced this pull request Jan 26, 2021
adrielparedes pushed a commit to adrielparedes/kogito-tooling that referenced this pull request Jan 26, 2021
adrielparedes pushed a commit to adrielparedes/kogito-tooling that referenced this pull request Jan 29, 2021
tiagobento added a commit that referenced this pull request Feb 8, 2021
* KOGITO-3846: Added notifications api to kogito tooling

* KOGITO-3846: Upgrade version to 0.8.3

* Importing DMN as Included Model in VS Code on Windows (#391)

* KOGITO-3846: Added notifications api to kogito tooling

* Update Editors to 7.50.0-SNAPSHOT-20210203.151532

Co-authored-by: Jan Stastny <jstastny@redhat.com>
Co-authored-by: Tiago Bento <1584568+tiagobento@users.noreply.github.com>
Co-authored-by: Kogito Tooling Bot (kiegroup) <kietooling@gmail.com>
ricardozanini pushed a commit to ricardozanini/kogito-tooling that referenced this pull request Nov 15, 2024
Prepare master branch for the next version iteration.

See: https://issues.redhat.com/browse/KOGITO-1946

Signed-off-by: spolti <fspolti@redhat.com>
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

Successfully merging this pull request may close these issues.

5 participants