-
-
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
Adding multiple labels in pull / issue detail page broken #13923
Comments
May also related with #13619 |
Not sure if related but I noticed when adding a single label and trying to "Clear Labels", it does not work. Label is temporarily removed but get's re-added again from the server response. |
A new interesting sample on this, might be another labels bug..
gitea.com currently runs 1.14.0+dev-754-g5d2b7ba63 |
Unsure if this should be closed as it raises two separate issue. #14894 fixes display issue for event-timeline but this issue also tracks case where label is not added at all server-side. |
OK - I think we need to retest and show that the issue is still happening on try/master |
I can see both https://gitea.com/gitea/tea/pulls/285 and https://gitea.com/gitea/tea/pulls/327 's problem resolved. |
For new issues this doesnt happen anymore, so I think this is because the bug previously persisted those extra labels to DB. |
The fix applied did nothing to change what label ID is saved to database, it only fixed squashing multiple actions into one timeline event. The ID discrepancy will most likely be because of repo vs org label. I'm gonna guess both tea repo and gitea org have |
I believe this bug has existed since before 1.13.0. Not only does this happen when adding multiple labels at once, but also when removing them at the same time. Currently, in order to set or remove multiple labels reliably, you must blur the dialog in between each alteration. |
Not sure if this is new information to anyone here (didn't look in all the mentioned PRs), but this is also tracked at Codeberg with some log output: https://codeberg.org/Codeberg/Community/issues/123#issuecomment-77816 |
Deadlock problem is related to this one: I think it can be fixed in 1.16 |
I think this has been resolved. |
Gitea version (or commit ref): 1.14.0+dev-290-gb1cf7f4df (current gitea.com)
Git version: ? (current gitea.com)
Operating system: ? (current gitea.com)
Database (use
[x]
): (current gitea.com)Can you reproduce the bug at https://try.gitea.io:
Log gist:
Description
Opening the label dropdown and selecting more than one label applies only one of the selected labels. Sometimes two, not consistent. So far never all selected labels.
Doing this several times adds the remaining labels, but in the action log / comments of the issue, only the first added label is displayed.
I didn't check in detail, but 2. makes me think this was introduced by #13304.
Another recent bug related to labels is #13688
Screenshots
The text was updated successfully, but these errors were encountered: