From 56e515f7ae42ed0ad609ddb38f9b0a7026c9bee8 Mon Sep 17 00:00:00 2001 From: Scott Aslan Date: Thu, 25 Aug 2016 08:55:26 -0400 Subject: [PATCH] [NIFI-2658] Use bulletinEntity id instead of bulleting id since the ids match but bulletinEntities do not get bulletin objects if user is not authorized. This closes #938 --- .../src/main/webapp/js/nf/bulletin-board/nf-bulletin-board.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/bulletin-board/nf-bulletin-board.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/bulletin-board/nf-bulletin-board.js index d58f8b8c1b..94fc0859d1 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/bulletin-board/nf-bulletin-board.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/bulletin-board/nf-bulletin-board.js @@ -388,7 +388,7 @@ nf.ng.BulletinBoardCtrl = function (serviceProvider) { // record the id of the last bulletin in this request if (i + 1 === bulletinEntities.length) { - lastBulletin = bulletin.id; + lastBulletin = bulletinEntity.id; } });