From 95cbec19af7ebb8a5a7d5d7f816cf2cc961a322b Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 3 Aug 2015 21:17:58 -0700 Subject: [PATCH] Copy the manifest because changes are made to it Because of that, manifest verification fails (isNew property appears in manfiest) --- webadmin/src/views/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webadmin/src/views/apps.js b/webadmin/src/views/apps.js index 2f9cf73ec..70f014335 100644 --- a/webadmin/src/views/apps.js +++ b/webadmin/src/views/apps.js @@ -214,7 +214,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location AppStore.getManifest(app.appStoreId, function (error, manifest) { if (error) return console.error(error); - $scope.appUpdate.manifest = manifest; + $scope.appUpdate.manifest = angular.copy(manifest); // ensure we always operate on objects here app.portBindings = app.portBindings || {};