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

JavaScript promise rejection: Cannot read properties of null (reading 'classList'). Open browser console to see more details. #30569

Closed
koicy-ly opened this issue Apr 18, 2024 · 1 comment · Fixed by #30535
Labels

Comments

@koicy-ly
Copy link

koicy-ly commented Apr 18, 2024

Description

when i press "download source code" in releases page, i got "JavaScript promise rejection: Cannot read properties of null (reading 'classList'). Open browser console to see more details." in chrome, and "JavaScript promise rejection: si is null. Open browser console to see more details." in firefox.

https://git.rbtr.ee/root/stress/releases

https://try.gitea.io/koicy/test/releases

Gitea Version

1.22.0+rc0-81-g4fec3a3d44

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Screenshot 2024-04-18 at 23 11 54 Screenshot 2024-04-18 at 23 11 14 Screenshot 2024-04-18 at 23 12 19

Git Version

2.40.1

Operating System

Ubuntu

How are you running Gitea?

linux-amd64 binary. mysql 5.7.44. Ubuntu 23.10.

Database

MySQL/MariaDB

@silverwind
Copy link
Member

Will be fixed by #30535.

wxiaoguang added a commit that referenced this issue Apr 18, 2024
Regression of #29920
Fixes: #30569

Also this is a rewriting to eliminate the remaining jQuery usages from code.

Co-authored-by: Giteabot <teabot@gitea.io>
GiteaBot added a commit to GiteaBot/gitea that referenced this issue Apr 18, 2024
Regression of go-gitea#29920
Fixes: go-gitea#30569

Also this is a rewriting to eliminate the remaining jQuery usages from code.

Co-authored-by: Giteabot <teabot@gitea.io>
silverwind added a commit that referenced this issue Apr 21, 2024
Backport #30535 by wxiaoguang

Regression of #29920
Fixes: #30569

Also this is a rewriting to eliminate the remaining jQuery usages from
code.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jul 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants