Unable to set labels on issues #2978

Closed
opened 2025-11-02 04:55:55 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @silverwind on GitHub (Feb 26, 2019).

Reproduced on https://try.gitea.io/silverwind/symlink-test/issues/1, but should affect any issue.

  1. Create new issue without any labels
  2. Try to set a 'bug' label by clicking it in the dropdown and closing the dropdown by clicking outside
  3. Page initially shows the label, but then reloads and label is gone

Maybe related to https://github.com/go-gitea/gitea/pull/5980 @jolheiser.

Originally created by @silverwind on GitHub (Feb 26, 2019). Reproduced on https://try.gitea.io/silverwind/symlink-test/issues/1, but should affect any issue. 1. Create new issue without any labels 2. Try to set a 'bug' label by clicking it in the dropdown and closing the dropdown by clicking outside 3. Page initially shows the label, but then reloads and label is gone Maybe related to https://github.com/go-gitea/gitea/pull/5980 @jolheiser.
GiteaMirror added the type/bug label 2025-11-02 04:55:55 -06:00
Author
Owner

@lunny commented on GitHub (Feb 26, 2019):

Cannot reproduce on your link! macOS chrome

@lunny commented on GitHub (Feb 26, 2019): Cannot reproduce on your link! macOS chrome
Author
Owner

@silverwind commented on GitHub (Feb 26, 2019):

Hmm, looks to affect Firefox only, testing further.

@silverwind commented on GitHub (Feb 26, 2019): Hmm, looks to affect Firefox only, testing further.
Author
Owner

@jolheiser commented on GitHub (Feb 26, 2019):

Isn't Javascript just so much fun?
Is there any error in browser dev console?

@jolheiser commented on GitHub (Feb 26, 2019): Isn't Javascript just *so much fun*? Is there any error in browser dev console?
Author
Owner

@silverwind commented on GitHub (Feb 26, 2019):

Issue found, it is a race condition between location.reload and updateIssueMeta (which is async). I guess it only worked by sheer luck in Chrome.

@silverwind commented on GitHub (Feb 26, 2019): Issue found, it is a race condition between `location.reload` and `updateIssueMeta` (which is async). I guess it only worked by sheer luck in Chrome.
Author
Owner

@jolheiser commented on GitHub (Feb 27, 2019):

Ah, shoot. Thanks for the catch!

@jolheiser commented on GitHub (Feb 27, 2019): Ah, shoot. Thanks for the catch!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2978