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

[Image Layers] console error on navigation to image endpoint #6262

Open
7 tasks
davetsay opened this issue Feb 2, 2023 · 0 comments
Open
7 tasks

[Image Layers] console error on navigation to image endpoint #6262

davetsay opened this issue Feb 2, 2023 · 0 comments

Comments

@davetsay
Copy link
Contributor

davetsay commented Feb 2, 2023

Summary

A console error is thrown if you navigate to an image endpoint. (the breaking call is loadVisibleLayers)

Expected vs Current Behavior

Should not get a console error.

Steps to Reproduce

  1. Open the browser console
  2. Navigate to an image endpoint
  3. Observe an error is logged in console

Environment

  • Open MCT Version: 2.1.6
  • Deployment Type: VIPER Testathon with Imagery Layers enabled

Impact Check List

  • Data loss or misrepresented data?
  • Regression? Did this used to work or has it always been broken?
  • Is there a workaround available?
  • Does this impact a critical component?
  • Is this just a visual bug with no functional impact?
  • Does this block the execution of e2e tests?
  • Does this have an impact on Performance?

Additional Information

openmct.js:2 TypeError: Cannot read properties of undefined (reading 'find')
    at openmct.js:2:2903762
    at Array.forEach (<anonymous>)
    at s.loadVisibleLayers (openmct.js:2:2903739)
    at s.mounted (openmct.js:2:2901149)
@davetsay davetsay changed the title [Images] console error if no images exist [Images] console error on navigation to image endpoint Feb 2, 2023
@unlikelyzero unlikelyzero changed the title [Images] console error on navigation to image endpoint [Image Layers] console error on navigation to image endpoint Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants