Bug Fixes with status report detach

This commit is contained in:
Luis Fernando Molina committed 2019-11-01 13:15:01 +01:00
1 parent 717269a931
commit 5a13d18ea0
2 files changed
+8 -8

No files matched your search

@@ -62,12 +62,12 @@ function newChainAttachDetach () {
return
}
case 'Status Report': {
node.payload.parentNode.calculations = undefined
node.payload.parentNode.statusReport = undefined
completeDetachment(node, rootNodes)
return
}
case 'Execution Finished Event': {
node.payload.parentNode.calculations = undefined
node.payload.parentNode.executionFinishedEvent = undefined
completeDetachment(node, rootNodes)
return
}
@@ -570,14 +570,14 @@ function newChainAttachDetach () {
case 'Status Report': {
node.payload.parentNode = attachToNode
node.payload.chainParent = attachToNode
node.payload.parentNode.calculations = node
node.payload.parentNode.statusReport = node
completeAttachment(node, rootNodes)
}
break
case 'Execution Finished Event': {
node.payload.parentNode = attachToNode
node.payload.chainParent = attachToNode
node.payload.parentNode.calculations = node
node.payload.parentNode.executionFinishedEvent = node
completeAttachment(node, rootNodes)
}
break