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] Prefix of imported file is used wrongly #436

Closed
hanjoosten opened this issue Aug 16, 2023 · 4 comments
Closed

[DMN-Editor] Prefix of imported file is used wrongly #436

hanjoosten opened this issue Aug 16, 2023 · 4 comments
Assignees
Labels
area:dmn Related to DMN area:tools Issues affecting Apache KIE tooling projects type:bug Something is behaving unexpectedly

Comments

@hanjoosten
Copy link

There is a namespace error when using datatypes from an imported model. The attribute names are incorrectly showing the prefix of the type.

Assume we have a file that contains a data type:
image

That file is imported from another .dmn file, that consumes the data types:
image

Now in that file we create a decision, and specify the imported data type. We also give it some input:
image

If I open the Edit button on the decision, I am able to select an expression. I select decision table:
image

The input and output columns are filled automatically, but wrong:
image

As you can see, the attribute names are prefixed with the namespace of the imported file.

What I expected is this:
image

This clearly is a bug.

@hanjoosten
Copy link
Author

@hanjoosten
Copy link
Author

I see now that I reported a similar issue: https://issues.redhat.com/browse/KOGITO-7601

@tiagobento tiagobento self-assigned this Aug 16, 2023
@tiagobento
Copy link

Great catch. Definitely a bug. Thanks for all the issues you're reporting @hanjoosten! We still have a long way to go, but we'll get there. Please do keep reporting everything you find, and feel welcome to propose new ideas as well. Every contribution helps!

@tiagobento tiagobento added area:dmn Related to DMN area:tools Issues affecting Apache KIE tooling projects type:bug Something is behaving unexpectedly labels Aug 16, 2023
@tiagobento
Copy link

Will be fixed as part of #577.

@tiagobento tiagobento closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2023
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
None yet
Development

No branches or pull requests

2 participants