Some buttons doesn't work on issues screen #8760

Closed
opened 2025-11-02 08:16:38 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @maherma-adg on GitHub (Mar 28, 2022).

Description

After update from 1.15.9 to 1.16.1 the close issue button stop working, when you hit the button nothing happens.
Checking screen I detect some buttons stop working too:

  • Add time
  • Start timer
  • Edit issue title

Other buttons still works:

  • New Issue
  • Comment
  • Tags
  • Milestone

I update gitea to 1.17.0+dev-351-g54961f3ac but get the same result.

Gitea Version

1.16.1 and up

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.25.1

Operating System

linux

How are you running Gitea?

Gitea server is downloaded from gitea repo.
Gitea is running as systemd service.
server is ubuntu 20.20.4

Database

SQLite

Originally created by @maherma-adg on GitHub (Mar 28, 2022). ### Description After update from 1.15.9 to 1.16.1 the close issue button stop working, when you hit the button nothing happens. Checking screen I detect some buttons stop working too: - Add time - Start timer - Edit issue title Other buttons still works: - New Issue - Comment - Tags - Milestone I update gitea to 1.17.0+dev-351-g54961f3ac but get the same result. ### Gitea Version 1.16.1 and up ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.25.1 ### Operating System linux ### How are you running Gitea? Gitea server is downloaded from gitea repo. Gitea is running as systemd service. server is ubuntu 20.20.4 ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 08:16:38 -06:00
Author
Owner

@maherma-adg commented on GitHub (Mar 28, 2022):

More info: Tested on Firefox and Chrome do the same result.

@maherma-adg commented on GitHub (Mar 28, 2022): More info: Tested on Firefox and Chrome do the same result.
Author
Owner

@silverwind commented on GitHub (Mar 28, 2022):

Any JS errors visible in the browser console/devtools?

@silverwind commented on GitHub (Mar 28, 2022): Any JS errors visible in the browser console/devtools?
Author
Owner

@maherma-adg commented on GitHub (Mar 28, 2022):

Browsers show this message when reload page:

jQuery.Deferred exception: Cannot read properties of undefined (reading 'adminUserListSearchForm') TypeError: Cannot read properties of undefined (reading 'adminUserListSearchForm')

but no reactions when click on buttons

@maherma-adg commented on GitHub (Mar 28, 2022): Browsers show this message when reload page: jQuery.Deferred exception: Cannot read properties of undefined (reading 'adminUserListSearchForm') TypeError: Cannot read properties of undefined (reading 'adminUserListSearchForm') but no reactions when click on buttons
Author
Owner

@wxiaoguang commented on GitHub (Mar 29, 2022):

Remove your customized templates.

@wxiaoguang commented on GitHub (Mar 29, 2022): Remove your customized templates.
Author
Owner

@maherma-adg commented on GitHub (Mar 29, 2022):

Solved. Now I'll try to restore mermaid and katex render to pages.
Thanks for the solution.

@maherma-adg commented on GitHub (Mar 29, 2022): Solved. Now I'll try to restore mermaid and katex render to pages. Thanks for the solution.
Author
Owner

@wxiaoguang commented on GitHub (Mar 29, 2022):

@silverwind how about show JS errors to end users, like this one https://github.com/go-gitea/gitea/pull/18971

There should be no JS error during normal usage. If there is an error, it must be reported and fixed.

@wxiaoguang commented on GitHub (Mar 29, 2022): @silverwind how about show JS errors to end users, like this one https://github.com/go-gitea/gitea/pull/18971 There should be no JS error during normal usage. If there is an error, it must be reported and fixed.
Author
Owner

@silverwind commented on GitHub (Mar 29, 2022):

Yeah, sounds like a good idea.

@silverwind commented on GitHub (Mar 29, 2022): Yeah, sounds like a good idea.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8760