Skip to content
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

Error view is broken #3927

Closed
ajatprabha opened this issue Jun 14, 2019 · 5 comments
Closed

Error view is broken #3927

ajatprabha opened this issue Jun 14, 2019 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@ajatprabha
Copy link
Contributor

Environment
Installation method: Resository checkout
Kubernetes version: 1.14.3
Dashboard version: master(89f56f0)
Operating system: MacOS v10.14.5
Node.js version ('node --version' output): v12.1.0
Go version ('go version' output): go1.12.5 darwin/amd64
Steps to reproduce
Observed result

Navigating to /error throws the following error:

TypeError: Cannot read property 'toggle' of undefined
    at NavService.push../src/app/frontend/common/services/nav/service.ts.NavService.setVisibility (service.ts:27)
    at ErrorComponent.push../src/app/frontend/error/component.ts.ErrorComponent.ngOnInit (component.ts:33)
Expected result

Error view should work as expected.

@ajatprabha ajatprabha added the kind/bug Categorizes issue or PR as related to a bug. label Jun 14, 2019
@maciaszczykm
Copy link
Member

Can you try again with the latest master?

@ajatprabha
Copy link
Contributor Author

It is there on the latest master. Can you put some light on why NavService is required here?

@maciaszczykm
Copy link
Member

maciaszczykm commented Jun 14, 2019

@ajatprabha It is indeed some issue, but I think it does not exist on master anymore. One bug was causing another. We can add checks for null here, but I think this was not normal use case.

@maciaszczykm
Copy link
Member

Seems to be fixed now anyways.

/close

@k8s-ci-robot
Copy link
Contributor

@maciaszczykm: Closing this issue.

In response to this:

Seems to be fixed now anyways.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants