[jboss-jira] [JBoss JIRA] (DROOLS-2931) DMN Designer - node names not generated when shortcuts used

Michael Anstis (JIRA) issues at jboss.org
Wed Aug 29 06:06:00 EDT 2018


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

Michael Anstis edited comment on DROOLS-2931 at 8/29/18 6:05 AM:
-----------------------------------------------------------------

[~jomarko] OK, so I see you do use that factory; however the issue appears to be {{AppendDecisionShortcut}} injects {{GeneralCreateNodeAction}} and the default implementation {{BPMNCreateNodeAction}} for BPMN is being selected by CDI (as you don't use the {{@DMNEditor}} qualifier) that uses the default Command Factory. So, I guess you'll need to change {{AppendDecisionShortcut}} to either inject {{DMNCreateNodeAction}} or use the {{@DMNEditor}} qualifier.


was (Author: manstis):
[~jomarko] OK, so I see you do use that factory; however the issue appears to be {{AppendDecisionShortcut}} injects {{GeneralCreateNodeAction}} that has a single default concrete implementation {{BPMNCreateNodeAction}} for BPMN that uses the default Command Factory. So, I guess you'll need to change {{AppendDecisionShortcut}} (and possibly others) to inject {{DMNCreateNodeAction}} instead.

> DMN Designer - node names not generated when shortcuts used
> -----------------------------------------------------------
>
>                 Key: DROOLS-2931
>                 URL: https://issues.jboss.org/browse/DROOLS-2931
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>            Reporter: Jozef Marko
>            Assignee: Jozef Marko
>              Labels: drools-tools
>
> If DMN node is added via shortcuts (see JBPM-6385), then the node name is not generated automatically. It is not consistent with addition nodes via palette or popup context menu.
> h3. Acceptance test
> - Node added via palette has autogenerated name
> - Node added via popu context menu has autogenerated name
> - Node added via keyboard shortcut has autogenerated name



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list