jcabrerizo commented on a change in pull request #130: Fix entitlement messages URL: https://github.com/apache/brooklyn-ui/pull/130#discussion_r270449717
########## File path: ui-modules/app-inspector/app/views/main/inspect/summary/summary.controller.js ########## @@ -188,7 +188,11 @@ export function summaryController($scope, $state, $stateParams, $q, $http, brSna entityApi.updateEntityName(applicationId, entityId, this.name).then((response)=> { vm.entity.name = vm.name; }).catch((error)=> { - brSnackbar.create('Cannot update entity name: the entity [' + entityId + '] is undefined'); + if(error.data && error.data.error === 403){ Review comment: I've changed the get the message from the `error` object ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services