[jboss-jira] [JBoss JIRA] (DROOLS-1966) [DMN Editor] Ensure UI model has hashCode/equals implementations
Michael Anstis (JIRA)
issues at jboss.org
Mon Jan 29 05:57:00 EST 2018
[ https://issues.jboss.org/browse/DROOLS-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13525108#comment-13525108 ]
Michael Anstis commented on DROOLS-1966:
----------------------------------------
Hi [~jomarko] we have lots of model classes already; but they lack implementation of {{equals( o )}} and {{hashCode()}} methods.
See:
https://github.com/kiegroup/kie-wb-common/tree/master/kie-wb-common-dmn/kie-wb-common-dmn-api/src/main/java/org/kie/workbench/common/dmn/api/definition
https://github.com/kiegroup/kie-wb-common/tree/master/kie-wb-common-dmn/kie-wb-common-dmn-api/src/main/java/org/kie/workbench/common/dmn/api/property
This means the "dirty" mechanism will not work properly when opening, changing (for example a property) and saving.
> [DMN Editor] Ensure UI model has hashCode/equals implementations
> ----------------------------------------------------------------
>
> Key: DROOLS-1966
> URL: https://issues.jboss.org/browse/DROOLS-1966
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Michael Anstis
> Assignee: Michael Anstis
>
> See https://github.com/kiegroup/kie-wb-common/pull/920 (for Stunner's implementation).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list