-
Bug
-
Resolution: Done
-
Major
-
None
-
None
In several pages there's a race condition between persona initialization and some queries, causing some queries methods to be called when there's still no persona id, causing a failure like:
TypeError: Cannot read property 'id' of undefined at AppServerJvmDetailsController.getJvmContextChartData (appServerJvmDetails.ts:241) at new AppServerJvmDetailsController (appServerJvmDetails.ts:129) at Object.invoke (angular.js?v=1452855078784:4523) at extend.instance (angular.js?v=1452855078784:9182) at nodeLinkFn (angular.js?v=1452855078784:8299) at compositeLinkFn (angular.js?v=1452855078784:7731) at publicLinkFn (angular.js?v=1452855078784:7611) at boundTranscludeFn (angular.js?v=1452855078784:7749) at controllersBoundTransclude (angular.js?v=1452855078784:8362) at Object.ngIfWatchAction [as fn] (angular.js?v=1452855078784:24126)
Any call should wait for $rootScope.currentPersona to be populated.