Skip to content

Cant create a pull-request if i used a Template #28953

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

Closed
DjSni opened this issue Jan 27, 2024 · 3 comments
Closed

Cant create a pull-request if i used a Template #28953

DjSni opened this issue Jan 27, 2024 · 3 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug

Comments

@DjSni
Copy link

DjSni commented Jan 27, 2024

Description

As the title says, if a repo from a template, I cannot create pull requests. I always get an error 500 as you can see in the screenshot.

As can also be recreated here https://try.gitea.io/DjSni/Test/.

Gitea Version

1.22.0+dev-611-g01acd1eea

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image
image

Git Version

build in

Operating System

Docker

How are you running Gitea?

i used https://try.gitea.io/

Database

MySQL/MariaDB

@DjSni DjSni added the type/bug label Jan 27, 2024
@yp05327
Copy link
Contributor

yp05327 commented Jan 29, 2024

Maybe caused by #28469 or #23894.
ObjectFormatName is empty for the repos created from templates.

@lunny
And ideas of fixing this issue? I'm not sure how to deal with it for repos from templates.

@yp05327 yp05327 added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Jan 29, 2024
@a1012112796 a1012112796 modified the milestone: 1.22.0 Mar 5, 2024
@a1012112796
Copy link
Member

fixed by #28969 ? @yp05327 @lunny

@a1012112796 a1012112796 added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Mar 5, 2024
@lunny
Copy link
Member

lunny commented Mar 5, 2024

Yes, I can confirm this has been resolved.

@lunny lunny closed this as completed Mar 5, 2024
@lunny lunny added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Mar 5, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

No branches or pull requests

4 participants