[jboss-jira] [JBoss JIRA] (DROOLS-4930) [DMN Designer] Remove UUID from Alerts panel validation messages
Roger Martinez (Jira)
issues at jboss.org
Fri Jan 17 17:35:05 EST 2020
[ https://issues.redhat.com/browse/DROOLS-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951807#comment-13951807 ]
Roger Martinez commented on DROOLS-4930:
----------------------------------------
Hey [~jomarko] [~manstis]
I'd been testing BPMN and it seems the visual feedback for validation is "partially" broken once saving, so probably it's why [~jomarko] also says it's not working for DMN. Here is the issue I just reported:
https://issues.redhat.com/browse/JBPM-8981
I don't really know the details about the use of the UUIDS for DMN, but this feature is generic and you could take benefit from, in case you think it makes sense.
I just works as:
# Validation process generates validation messages
# Validation messages contain the node/s UUID's (although we can not expose those on the UI or alerts panel, they should be there in the validation message model)
# After validating (or saving) -> Stunner iterates over the UUID's for all the validation messages, obtain the nodes/connectors by the respective UUID, and perform the highlighting on the canvas side (red borders)
So rather than the [JBPM-8981|https://issues.redhat.com/browse/JBPM-8981], which has to be fixed, if your messages & nodes UUID's correspond, you should be able to see errors as highlighted nodes.
PS: Anyway, the whole usecase is not yet complete, as you cannot click on some message in the Alerts Panel, nothing happens, no node is selected, so once having several error messages and nodes highlighted is also not easy to identify each one.
> [DMN Designer] Remove UUID from Alerts panel validation messages
> -----------------------------------------------------------------
>
> Key: DROOLS-4930
> URL: https://issues.redhat.com/browse/DROOLS-4930
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Affects Versions: 7.31.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot from 2020-01-17 07-41-57.png
>
>
> Validation of a DMN diagram can lead to messages being shown in the Alerts Panel.
> Stunner is appending the UUID to the message. See [CoreTranslationMessages.getElementValidationMessage()|https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-stunner/kie-wb-common-stunner-core/kie-wb-common-stunner-commons/kie-wb-common-stunner-core-common/src/main/java/org/kie/workbench/common/stunner/core/i18n/CoreTranslationMessages.java#L142]
> [~tirelli] has requested their removal.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list