diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-actions.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-actions.js index 9a1e934551..b5f664f26c 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-actions.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-actions.js @@ -413,7 +413,7 @@ nf.Actions = (function () { // build the entity var entity = {}; - entity[nf[d.type].getEntityKey()] = { + entity[nf[d.type].getEntityKey(d)] = { 'id': d.component.id, 'state': 'STOPPED' }; @@ -460,7 +460,7 @@ nf.Actions = (function () { // build the entity var entity = {}; - entity[nf[d.type].getEntityKey()] = { + entity[nf[d.type].getEntityKey(d)] = { 'id': d.component.id, 'state': 'DISABLED' }; @@ -547,7 +547,7 @@ nf.Actions = (function () { // build the entity var entity = {}; - entity[nf[d.type].getEntityKey()] = component; + entity[nf[d.type].getEntityKey(d)] = component; startRequests.push(updateResource(d.component.uri, entity).done(function (response) { if (nf.CanvasUtils.isProcessor(selected)) { @@ -624,7 +624,7 @@ nf.Actions = (function () { // build the entity var entity = {}; - entity[nf[d.type].getEntityKey()] = component; + entity[nf[d.type].getEntityKey(d)] = component; stopRequests.push(updateResource(d.component.uri, entity).done(function (response) { if (nf.CanvasUtils.isProcessor(selected)) {