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

[Bug] Cannot read property 'timeStamp' of undefined #56

Closed
alexkainzinger opened this issue Oct 20, 2020 · 6 comments
Closed

[Bug] Cannot read property 'timeStamp' of undefined #56

alexkainzinger opened this issue Oct 20, 2020 · 6 comments

Comments

@alexkainzinger
Copy link

Hey there,

I recently discovered a very nasty bug where basically the whole UI bricks.
It usually occurs when I deploy an application and create a new one a couple of seconds later.

Basically bricks whole UI at forces me to login again, to see the same blank page again with the same error message. Once the application has been deployed, the UI works again.

image

@githubsaturn
Copy link
Collaborator

Thanks for reporting this.
Do you have a reproducible step-by-step case for this?

@alexkainzinger
Copy link
Author

Thanks for the quick reply!

CapRover Version: 1.8.0

  1. "Create New App" in "Apps"
  2. Configure deployment "Method 3" (Github in my case)
  3. Stay in "Deployment" tab and trigger build-process
  4. Building/Deployment process has to be running
  5. Press on "Apps" in sidebar + create new app with any name
  6. UI bricks + refreshing the dashboard forces new login
    (7.) after login error can still occurs until the build process has finished

Seems like the API does return a malformed response while there is a building/deployment process running which causes the UI to brick.

Thanks!

githubsaturn added a commit that referenced this issue Oct 20, 2020
@githubsaturn
Copy link
Collaborator

I don't seem to be able to reproduce it on my end. I added some more logs. Can you please upgrade to the edge version and try to see if you can get the extra logs. Note that the error is now "fixed" and your UI will not break anymore, but some logs will be outputted to the console.

@alexkainzinger
Copy link
Author

Yes that fixes the UI, thank you!

Error log:
image

@maxerbox
Copy link

maxerbox commented Nov 2, 2020

There is still an issue with app versions, if the array is empty I get a "app.version.filter" is not a function. I deleted manually the app

@githubsaturn
Copy link
Collaborator

ah! You're 100% correct! Thanks for the ping! The frontend repo hash wasn't updated during the release 🤦

I'll cut a new release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants