[
https://issues.jboss.org/browse/DROOLS-2549?page=com.atlassian.jira.plugi...
]
Kris Verlaenen updated DROOLS-2549:
-----------------------------------
Sprint: 2018 Week 19-22, 2018 Week 23-24 (was: 2018 Week 19-22)
[DMN Designer] Add support for 'parent' to
DMNModelInstrumentedBase
-------------------------------------------------------------------
Key: DROOLS-2549
URL:
https://issues.jboss.org/browse/DROOLS-2549
Project: Drools
Issue Type: Enhancement
Components: DMN Editor
Affects Versions: 7.7.0.Final
Reporter: Michael Anstis
Assignee: Michael Anstis
{{DMNModelInstrumentedBase}} needs to support {{parent}} (like
{{org.kie.dmn.model.v1_1.DMNModelInstrumentedBase}}) in order to correctly implement
{{getPrefixForNamespaceURI(..)}} that is needed to set the {{QName}} prefix when setting
data-types on nodes.
At the moment the {{QName}} for data-types in the UI is using the {{namespaceURI}}
instead of the {{prefix}} as it is currently impossible to lookup a {{prefix}} from the
{{namespaceURI}} (of the nodes' parents up to {{Definitions}}).
Changes required for this JIRA (split into sub-tasks when work starts):-
* Update XML->(kie)DMN->(ui)DMN model mapping in the marshaller
* Update the UI to set {{parent}} when adding nodes to the {{DRGElement}} and children
* Update code relating to "setting data-type" to lookup {{prefix}} for
{{QName}} (/)
* When creating a new Diagram we need to set up the basic default NameSpace contexts on
the {{DMNDiagram}}'s {{Defintions}} (/)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)