[jboss-jira] [JBoss JIRA] (DROOLS-3997) [DMN Designer] Included Model Name marshalling issues depending on imported model name

Daniel José dos Santos (Jira) issues at jboss.org
Thu May 16 09:54:01 EDT 2019


    [ https://issues.jboss.org/browse/DROOLS-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734401#comment-13734401 ] 

Daniel José dos Santos commented on DROOLS-3997:
------------------------------------------------

[~tirelli][~manstis] The issue is the namespace. I've imported an model with the name "Best Player" and look at this:

xmlns:{color:red}Best Player{color}="https://kiegroup.org/dmn/_47F64FEB-F517-4B98-B270-E049FC5E21CE"

I changed it manually to "BestPlayer" (without space) and it worked in DMN Showcase (before that change the model was not being loaded), but I'm not sure about the side effects of having the declaration here without space and the name with spaces in the other places:

<dmn:import id="_A55C41D2-E76A-467A-B97A-3C8F3A063F0D" {color:red}name="Best Player" {color}namespace="https://kiegroup.org/dmn/_47F64FEB-F517-4B98-B270-E049FC5E21CE" locationURI="default://master@system/stunner/diagrams/nrBzl8oV.dmn" importType="http://www.omg.org/spec/DMN/20180521/MODEL/"></dmn:import>
  <dmndi:DMNDI>
    <dmndi:DMNDiagram>
      <di:extension>
        <kie:ComponentsWidthsExtension></kie:ComponentsWidthsExtension>
      </di:extension>
      <dmndi:DMNShape id="{color:red}dmnshape-Best Player{color}:_B5CE43A7-B81C-4A41-AD9C-6019453912D6" dmnElementRef="{color:red}Best Player{color}:_B5CE43A7-B81C-4A41-AD9C-6019453912D6" isCollapsed="false">

> [DMN Designer] Included Model Name marshalling issues depending on imported model name
> --------------------------------------------------------------------------------------
>
>                 Key: DROOLS-3997
>                 URL: https://issues.jboss.org/browse/DROOLS-3997
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>    Affects Versions: 7.22.0.Final
>            Reporter: Jozef Marko
>            Assignee: Daniel José dos Santos
>            Priority: Major
>              Labels: drools-tools
>         Attachments: Screenshot from 2019-05-10 08-20-54.png, Screenshot from 2019-05-10 08-28-42.png
>
>
> There is issue in marshalling, if the included model name contains *whitespace* character. In such case xml editor is opened instead of the dmn editor. See the attached picture and steps to reproduce for more details.
> Issue spotted during review of DROOLS-3720 and DROOLS-3721. However it is probably not related.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list