[jboss-jira] [JBoss JIRA] (DROOLS-2192) DMN QName regex problem and assimilated for function drools:kind
Matteo Mortari (JIRA)
issues at jboss.org
Tue Dec 19 09:11:00 EST 2017
[ https://issues.jboss.org/browse/DROOLS-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matteo Mortari reassigned DROOLS-2192:
--------------------------------------
Assignee: Matteo Mortari (was: Edson Tirelli)
> DMN QName regex problem and assimilated for function drools:kind
> ----------------------------------------------------------------
>
> Key: DROOLS-2192
> URL: https://issues.jboss.org/browse/DROOLS-2192
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
>
> DMN QName regex does not match with serialization strategy.
> A qname string serialization as
> {code:java}
> {http://namespace}localPart
> {code}
> would fail the regex of MarshallingUtils.
> Additionally FunctionDefinition could now rely on the additionalAttributes generally available at the level of DMNModelInstrumentedBase (which would also serialize any other type of additional attributes, preserving from any original .dmn file).
> Finally, it was noted calling getDecisionResultByName on DMNResultImpl by passing a wrong name would have thrown the stacktrace for wrong use of Optional.get(), instead of returning null as per getDecisionResultById() of the same class.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list