[jboss-jira] [JBoss JIRA] (DROOLS-5009) DMN Designer convert java class with invalid DMN identiefier
Matteo Mortari (Jira)
issues at jboss.org
Tue Feb 25 07:07:00 EST 2020
[ https://issues.redhat.com/browse/DROOLS-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981620#comment-13981620 ]
Matteo Mortari commented on DROOLS-5009:
----------------------------------------
I spotted the convo on brms mailing list.
I am confused as to why {{number}} or {{date}} etc. are considered keywords?
In my understanding, based purely on the DMN spec, they are not keyword and they should work just fine for ItemDefinition fields.
If something from the backend is triggering wrong result please advise and I will take a look.
Finally, please confirm your understanding.
> DMN Designer convert java class with invalid DMN identiefier
> ------------------------------------------------------------
>
> Key: DROOLS-5009
> URL: https://issues.redhat.com/browse/DROOLS-5009
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.33.0.Final
> Reporter: Jozef Marko
> Assignee: Daniel José dos Santos
> Priority: Minor
> Labels: drools-tools
> Attachments: Screenshot from 2020-02-05 16-21-10.png
>
>
> There is an issue if user convert java class to DMN data type while the java class contains field name, that is invalid identifier for DMN.
> for example assume this java class and try to convert it into DMN data type, you will get an error as attached.
> {code:java}
> public class Address {
> private int number;
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list