Skip to content

Navigate filters sometime throw errors when navigating to builds #1942

@benjaminapetersen

Description

@benjaminapetersen

navigateResourceURL and navigateEventInvolvedObjectURL (and perhaps the others) occasionally cause an error to be thrown when navigating to builds:

screen shot 2017-08-16 at 11 47 41 am

error on line 105:

screen shot 2017-08-16 at 11 49 50 am

The breadcrumbs are not generated correctly due to the URL having a slightly different format.
Breadcrumb when error thrown:

screen shot 2017-08-16 at 11 51 24 am

Breadcrumb when error not thrown:
screen shot 2017-08-16 at 11 51 31 am

URL generating breadcrumbs with error:

https://localhost:9000/dev-console/project/myproject/browse/builds-noconfig/mmmmmm-cake-1?tab=details

URL generating correct breadcrumbs:

https://localhost:9000/dev-console/project/myproject/browse/builds/mmmmmm-cake/mmmmmm-cake-1?tab=details

So problem seems to be that the navigate* functions may think a build has no build config.

@spadgett

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.priority/P2

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions