-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Javascript promise error on dashboard #30768
Comments
Comes from here:
It does not seem to not be a recent regression. |
@shootie22 can you open browser devtools, network tab, find the last GET request to |
I think it is related to a recent change, the By this: |
-> Fix dashboard commit status null access #30771 |
The backend bug has been fixed, but the nil/null is still passed to frontend. |
Thanks for being so fast to reply, everyone. 🙂 |
I think one of these two should be the response:
It's worth mentioning that I am routing this install through Cloudflare. Even so, I get the same behavior through the local address. |
Description
Hi, I'm facing an issue with Gitea after a fresh install.
I freshly installed Gitea version 1.22.0+rc1-3-gd07019f539 from binary and adopted a repository.
The main page shows this error and shows no content on the main body of the page:
JavaScript promise rejection: Cannot read properties of null (reading 'State'). Open browser console to see more details.
In my browser's console I can see:
The Gitea logs don't seem to show any errors. I tried looking around online but I couldn't find anything too useful D:
Any help is appreciated. Thanks.
Gitea Version
1.22.0+rc1-3-gd07019f539
Can you reproduce the bug on the Gitea demo site?
No
Screenshots
Git Version
git version 2.34.1
Operating System
Ubuntu 24.04 LTS
How are you running Gitea?
Binary downloaded from https://dl.gitea.com/gitea/1.22/
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: