Skip to content

Error when entering /failedMessages page directly #358

@johansuperstar

Description

@johansuperstar

The following error occurs and the page won't render properly when visiting url /failedMessages without having clicked the ALL FAILED MESSAGES link in the navigation.

angular.js:12416 TypeError: Cannot read property 'hasOwnProperty' of undefined at new controller (http://secc3459:9090/js/views/failed_messages/controller.js:20:39) at invoke (http://secc3459:9090/lib/angular/angular.js:4473:17) at Object.instantiate (http://secc3459:9090/lib/angular/angular.js:4481:27) at http://secc3459:9090/lib/angular/angular.js:9108:28 at link (http://secc3459:9090/lib/angular/angular-route.js:977:26) at invokeLinkFn (http://secc3459:9090/lib/angular/angular.js:8746:9) at nodeLinkFn (http://secc3459:9090/lib/angular/angular.js:8246:11) at compositeLinkFn (http://secc3459:9090/lib/angular/angular.js:7637:13) at publicLinkFn (http://secc3459:9090/lib/angular/angular.js:7512:30) at boundTranscludeFn (http://secc3459:9090/lib/angular/angular.js:7656:16) <div id="view" ng-view="" class="ng-scope" data-ng-animate="1">

It's probably due to this line:

if (!vm.selectedExceptionGroup.hasOwnProperty('title')) {

That line of code also seems to want to redirect to the /failedGroups page if the selectedExceptionGroup is incomplete. However, I would like to have the possibility to link directly to the /failedMessages page.

To reproduce:

  • Go to /failedMessages
  • Clear local storage
  • Refresh page

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions