Skip to content

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

Closed
@DjSni

Description

@DjSni

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

Activity

yp05327

yp05327 commented on Jan 29, 2024

@yp05327
Contributor

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.

added
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implemented
on Jan 29, 2024
modified the milestone: 1.22.0 on Mar 5, 2024
a1012112796

a1012112796 commented on Mar 5, 2024

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

lunny commented on Mar 5, 2024

@lunny
Member

Yes, I can confirm this has been resolved.

added
skip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.
on Mar 5, 2024
locked as resolved and limited conversation to collaborators on Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedissue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailskip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.type/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lunny@yp05327@a1012112796@DjSni

        Issue actions

          Cant create a pull-request if i used a Template · Issue #28953 · go-gitea/gitea