[
https://issues.jboss.org/browse/DROOLS-2458?page=com.atlassian.jira.plugi...
]
Michael Anstis commented on DROOLS-2458:
----------------------------------------
Stack trace is this:-
{code}
LgI_g$ (FormPropertiesWidget.java:150)
TgI_g$ (FormPropertiesWidget.java:79)
vhI_g$ (FormsCanvasSessionHandler.java:213)
uhI_g$ (FormsCanvasSessionHandler.java:205)
giI_g$ (FormsCanvasSessionHandler.java:256)
TVF_g$ (AbstractCanvasHandler.java:363)
qeG_g$ (DeleteCanvasConnectorCommand.java:51) <--
context.notifyCanvasElementUpdated(target) -- see below.
peG_g$ (DeleteCanvasConnectorCommand.java:40)
...
{code}
The {{DeleteCanvasConnectorCommand}} above looks like this:-
{code}
public class DeleteCanvasConnectorCommand extends AbstractCanvasCommand {
...
@Override
public CommandResult<CanvasViolation> execute(final AbstractCanvasHandler
context) {
if (!checkShapeNotNull(context, candidate.getUUID())) {
//it is already not present on canvas
return buildResult();
}
context.deregister(candidate);
if (null != source) {
context.notifyCanvasElementUpdated(source);
}
if (null != target) {
context.notifyCanvasElementUpdated(target); <-- BUT target has been
deleted.
}
return buildResult();
}
{code}
So the issue is that the Properties Panel is trying to be updated for a non-existence
node.
[DMN Designer] Error while removing connected decision
------------------------------------------------------
Key: DROOLS-2458
URL:
https://issues.jboss.org/browse/DROOLS-2458
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.8.0.Final
Reporter: Jozef Marko
Assignee: Michael Anstis
Priority: Critical
Fix For: 7.8.0.Final
Attachments: Screenshot from 2018-04-06 14-41-28.png, Screenshot from 2018-04-06
14-42-45.png
If there are connected decisions, user is unable to delete them. Issue was found during
JBPM-6777 review, however probably there is no relation.
h2. Acceptance test
Prepare DRG diagram with all combinations of connections, be sure all node types used,
try to delete each node type in situation it is either source or target of connection.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)