[jboss-jira] [JBoss JIRA] (DROOLS-2436) [DMN Designer] Always open the same diagram
Michael Anstis (JIRA)
issues at jboss.org
Thu Mar 29 06:17:04 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553589#comment-13553589 ]
Michael Anstis edited comment on DROOLS-2436 at 3/29/18 6:16 AM:
-----------------------------------------------------------------
[~roger600] This [commit|https://github.com/kiegroup/kie-wb-common/blame/master/kie-wb-common-stunner/kie-wb-common-stunner-backend/src/main/java/org/kie/workbench/common/stunner/backend/service/DiagramLookupServiceImpl.java] breaks the DMN standalone showcase (might be others, IDK).
The standalone showcase creates files with 8 characters so the {{matches(..)}} [method|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-stunner/kie-wb-common-stunner-backend/src/main/java/org/kie/workbench/common/stunner/backend/service/DiagramLookupServiceImpl.java#L86] always returns true meaning ALL diagrams created in the showcase are returned to the client and picks the [first|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-dmn/kie-wb-common-dmn-webapp/src/main/java/org/kie/workbench/common/dmn/showcase/client/screens/ShowcaseDiagramService.java#L63]. This [class|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-stunner/kie-wb-common-stunner-backend/src/main/java/org/kie/workbench/common/stunner/backend/service/DiagramServiceImpl.java#L187] seems to make file names with 8 characters; so I suspect the Stunner standalone showcase is also broken?
Perhaps the DMN showcase is missing a change made elsewhere?
was (Author: manstis):
[~roger600] This [commit|https://github.com/kiegroup/kie-wb-common/blame/master/kie-wb-common-stunner/kie-wb-common-stunner-backend/src/main/java/org/kie/workbench/common/stunner/backend/service/DiagramLookupServiceImpl.java] breaks the DMN standalone showcase (might be others, IDK).
The standalone showcase creates files with 9 characters so the {{matches(..)}} [method|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-stunner/kie-wb-common-stunner-backend/src/main/java/org/kie/workbench/common/stunner/backend/service/DiagramLookupServiceImpl.java#L86] always returns true meaning ALL diagrams created in the showcase are returned to the client and picks the [first|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-dmn/kie-wb-common-dmn-webapp/src/main/java/org/kie/workbench/common/dmn/showcase/client/screens/ShowcaseDiagramService.java#L63]. This [class|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-stunner/kie-wb-common-stunner-backend/src/main/java/org/kie/workbench/common/stunner/backend/service/DiagramServiceImpl.java#L187] seems to make file names with 8 characters; so I suspect the Stunner standalone showcase is also broken?
Perhaps the DMN showcase is missing a change made elsewhere?
> [DMN Designer] Always open the same diagram
> -------------------------------------------
>
> Key: DROOLS-2436
> URL: https://issues.jboss.org/browse/DROOLS-2436
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor, Stunner
> Affects Versions: 7.8.0.Final
> Reporter: Jozef Marko
> Assignee: Roger Martínez
> Priority: Blocker
>
> User is unable to open two different diagrams.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list