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 does not support custom type that is a function #1756

Open
jomarko opened this issue Jan 17, 2025 · 0 comments
Open

DMN Editor does not support custom type that is a function #1756

jomarko opened this issue Jan 17, 2025 · 0 comments
Labels
area:dmn Related to DMN area:tools Issues affecting Apache KIE tooling projects type:bug Something is behaving unexpectedly

Comments

@jomarko
Copy link

jomarko commented Jan 17, 2025

This issue is related to the ticket #1752. The ticket references this model file:

The problem of the DMN Editor users is that they will be not able to define:

  • lambda_number_returns_number because it is not a data type but a function. See what the editor show [1] vs what is the xml [2].
  • bkm_014_1(abs, sqrt) will not support syntax highlight. This is for sure very minor and maybe we should not execute any action. But wanted to mention to broader audience. Please compare [3] and [4]. Good thing is, there is no red highlight neither in [3] or [4].

[1]

Image

[2]

    <itemDefinition name="lambda_number_returns_number">
        <functionItem outputTypeRef="number">
            <parameters name="n" typeRef="number" />
        </functionItem>
    </itemDefinition>

[3]

Image

[4]

Image

@jomarko jomarko added area:dmn Related to DMN area:tools Issues affecting Apache KIE tooling projects type:bug Something is behaving unexpectedly labels Jan 17, 2025
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

1 participant