[jboss-jira] [JBoss JIRA] (DROOLS-2204) DMN QName regex problem and assimilated for function drools:kind
Matteo Mortari (JIRA)
issues at jboss.org
Tue Jan 2 12:16:00 EST 2018
Matteo Mortari created DROOLS-2204:
--------------------------------------
Summary: DMN QName regex problem and assimilated for function drools:kind
Key: DROOLS-2204
URL: https://issues.jboss.org/browse/DROOLS-2204
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