Default branch can be missing on releases tab #7841

Closed
opened 2025-11-02 07:38:53 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @delvh on GitHub (Sep 13, 2021).

Description

Apparently, the default branch can be missing on the release page of projects.
This seems to be a backend issue because the generated link is https://gitea.com/xorm/xorm/compare/v1.2.2... as well and hence missing the branch to compare with.
When I disable JavaScript, the result is still the same.

Screenshots

image

Originally created by @delvh on GitHub (Sep 13, 2021). - Gitea version (or commit ref): 1.16.0+dev-209-g9fa6bdb64 - Can you reproduce the bug at https://try.gitea.io: not sure, was noticed on https://gitea.com/xorm/xorm/releases ## Description Apparently, the default branch can be missing on the release page of projects. This seems to be a backend issue because the generated link is `https://gitea.com/xorm/xorm/compare/v1.2.2...` as well and hence missing the branch to compare with. When I disable JavaScript, the result is still the same. ## Screenshots ![image](https://user-images.githubusercontent.com/51889757/133160612-7de738d9-752d-4e48-938a-023d017d275d.png)
GiteaMirror added the type/bug label 2025-11-02 07:38:53 -06:00
Author
Owner

@a1012112796 commented on GitHub (Sep 14, 2021):

maybe Target of these Release is missing in db. But don't know why.
hasen't found this bug on the latest commit (1.16.0+dev-239-g04b233e94)

@a1012112796 commented on GitHub (Sep 14, 2021): maybe `Target` of these `Release` is missing in db. But don't know why. hasen't found this bug on the latest commit (`1.16.0+dev-239-g04b233e94`)
Author
Owner

@wxiaoguang commented on GitHub (May 12, 2023):

Related to #24470 and #24148

I think this issue has been fixed.

@wxiaoguang commented on GitHub (May 12, 2023): Related to #24470 and #24148 I think this issue has been fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7841