[jboss-jira] [JBoss JIRA] (DROOLS-3352) [DMN Designer] Some associations don't appear in third-party editors

Guilherme Carreiro (Jira) issues at jboss.org
Thu Nov 22 15:55:00 EST 2018


     [ https://issues.jboss.org/browse/DROOLS-3352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guilherme Carreiro updated DROOLS-3352:
---------------------------------------
    Description: 
This file was created in a third party editor:
 !file1.png|thumbnail! 

Then, it was imported in the Workbench DMN Editor, and one association was created:
 !file2.png|thumbnail! 

Finally, when the file was imported in the third-party editor, the following errors appeared:
{quote}Attribute 'reference' is not allowed to appear in element 'semantic:targetRef'. - Line 269, Column 66   
Attribute 'href' must appear on element 'semantic:targetRef'. - Line 269, Column 66   
{quote}
--

Here's how the association (from the third-party) is being persisted by the third-party editor:
{quote}<semantic:association id="_f30d89ae-90da-418f-b64f-e846eeb59a4f" associationDirection="None">
  <semantic:sourceRef href="#_237DED7A-E235-47CB-8E90-94D67832EB70"/>
  <semantic:targetRef reference="../../association/targetRef"/>
</semantic:association>

<dmndi:DMNEdge id="dmnedge-_0A799429-C784-4E89-8DC9-4FC4F00F08E0" dmnElementRef="_0A799429-C784-4E89-8DC9-4FC4F00F08E0">
  <di:waypoint x="203" y="145"/>
  <di:waypoint x="202.59813084112147" y="237.99999999999997"/>
</dmndi:DMNEdge>{quote}


And here's how the association (from WB DMN Editor) is being persisted by us:
{quote}<semantic:association id="_68E14F9D-51F9-405B-8E48-C958AF785738" associationDirection="None">
  <semantic:sourceRef href="#_48F2F8F0-3C23-40B4-95B9-04464A193811"/>
  <semantic:targetRef href="#_B8F593B9-8E91-4F22-A219-4F338C74058C"/>
</semantic:association>

<dmndi:DMNEdge id="dmnedge-_68E14F9D-51F9-405B-8E48-C958AF785738" dmnElementRef="_68E14F9D-51F9-405B-8E48-C958AF785738">
  <di:waypoint x="550" y="120"/>
  <di:waypoint x="776.5" y="283"/>
</dmndi:DMNEdge>{quote}

And here's is the DMN file with both associations:

  was:
This file was created in a third party editor:
 !file1.png|thumbnail! 

Then, it was imported in the Workbench DMN Editor, and one association was created:
 !file2.png|thumbnail! 

Finally, when the file was imported in the third-party editor, the following errors appear:
{quote}Attribute 'reference' is not allowed to appear in element 'semantic:targetRef'. - Line 269, Column 66   
Attribute 'href' must appear on element 'semantic:targetRef'. - Line 269, Column 66   
{quote}
--

Here's how the association (from the third-party) is being persisted by the third-party editor:
{quote}<semantic:association id="_f30d89ae-90da-418f-b64f-e846eeb59a4f" associationDirection="None">
  <semantic:sourceRef href="#_237DED7A-E235-47CB-8E90-94D67832EB70"/>
  <semantic:targetRef reference="../../association/targetRef"/>
</semantic:association>

<dmndi:DMNEdge id="dmnedge-_0A799429-C784-4E89-8DC9-4FC4F00F08E0" dmnElementRef="_0A799429-C784-4E89-8DC9-4FC4F00F08E0">
  <di:waypoint x="203" y="145"/>
  <di:waypoint x="202.59813084112147" y="237.99999999999997"/>
</dmndi:DMNEdge>{quote}


And here's how the association (from WB DMN Editor) is being persisted by us:
{quote}<semantic:association id="_68E14F9D-51F9-405B-8E48-C958AF785738" associationDirection="None">
  <semantic:sourceRef href="#_48F2F8F0-3C23-40B4-95B9-04464A193811"/>
  <semantic:targetRef href="#_B8F593B9-8E91-4F22-A219-4F338C74058C"/>
</semantic:association>

<dmndi:DMNEdge id="dmnedge-_68E14F9D-51F9-405B-8E48-C958AF785738" dmnElementRef="_68E14F9D-51F9-405B-8E48-C958AF785738">
  <di:waypoint x="550" y="120"/>
  <di:waypoint x="776.5" y="283"/>
</dmndi:DMNEdge>{quote}

And here's is the DMN file with both associations:



> [DMN Designer] Some associations don't appear in third-party editors
> --------------------------------------------------------------------
>
>                 Key: DROOLS-3352
>                 URL: https://issues.jboss.org/browse/DROOLS-3352
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>            Reporter: Guilherme Carreiro
>            Assignee: Michael Anstis
>            Priority: Major
>              Labels: drools-tools
>         Attachments: file1.png, file2.png, file3.png
>
>
> This file was created in a third party editor:
>  !file1.png|thumbnail! 
> Then, it was imported in the Workbench DMN Editor, and one association was created:
>  !file2.png|thumbnail! 
> Finally, when the file was imported in the third-party editor, the following errors appeared:
> {quote}Attribute 'reference' is not allowed to appear in element 'semantic:targetRef'. - Line 269, Column 66   
> Attribute 'href' must appear on element 'semantic:targetRef'. - Line 269, Column 66   
> {quote}
> --
> Here's how the association (from the third-party) is being persisted by the third-party editor:
> {quote}<semantic:association id="_f30d89ae-90da-418f-b64f-e846eeb59a4f" associationDirection="None">
>   <semantic:sourceRef href="#_237DED7A-E235-47CB-8E90-94D67832EB70"/>
>   <semantic:targetRef reference="../../association/targetRef"/>
> </semantic:association>
> <dmndi:DMNEdge id="dmnedge-_0A799429-C784-4E89-8DC9-4FC4F00F08E0" dmnElementRef="_0A799429-C784-4E89-8DC9-4FC4F00F08E0">
>   <di:waypoint x="203" y="145"/>
>   <di:waypoint x="202.59813084112147" y="237.99999999999997"/>
> </dmndi:DMNEdge>{quote}
> And here's how the association (from WB DMN Editor) is being persisted by us:
> {quote}<semantic:association id="_68E14F9D-51F9-405B-8E48-C958AF785738" associationDirection="None">
>   <semantic:sourceRef href="#_48F2F8F0-3C23-40B4-95B9-04464A193811"/>
>   <semantic:targetRef href="#_B8F593B9-8E91-4F22-A219-4F338C74058C"/>
> </semantic:association>
> <dmndi:DMNEdge id="dmnedge-_68E14F9D-51F9-405B-8E48-C958AF785738" dmnElementRef="_68E14F9D-51F9-405B-8E48-C958AF785738">
>   <di:waypoint x="550" y="120"/>
>   <di:waypoint x="776.5" y="283"/>
> </dmndi:DMNEdge>{quote}
> And here's is the DMN file with both associations:



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


More information about the jboss-jira mailing list