-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigate filters sometime throw errors when navigating to builds #1942
Comments
This can be reproduced on the Monitoring page and in the Notification drawer. Resolution per conversation is probably to look @ the |
We might just remove the build config name from the URL like we did for replication controllers owned by a deployment config. Then you can build the URL from just the kind and name without needing other data. If we do that, we'd want a redirect for the old URL for old links. We probably have a problem for pipeline builds vs regular builds as well since we use a |
Hmm. Yeah, this one does seem complex then, since we have so many routes using .when('/project/:project/browse/builds/:buildconfig/:build', {
controller: 'BuildController',
//
})
.when('/project/:project/browse/pipelines/:buildconfig/:build', {
controller: 'BuildController',
//
})
.when('/project/:project/browse/builds-noconfig/:build', {
controller: 'BuildController',
//
})
.when('/project/:project/browse/pipelines-noconfig/:build', {
controller: 'BuildController',
//
}) |
The javascript error is being fixed in #2403 |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
navigateResourceURL
andnavigateEventInvolvedObjectURL
(and perhaps the others) occasionally cause an error to be thrown when navigating to builds:error on line 105:
The breadcrumbs are not generated correctly due to the URL having a slightly different format.
Breadcrumb when error thrown:
Breadcrumb when error not thrown:

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
The text was updated successfully, but these errors were encountered: