Skip to content
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

Error 500 when trying to open a new PR with an empty CSV file #17224

Closed
noiaverbale opened this issue Oct 5, 2021 · 2 comments
Closed

Error 500 when trying to open a new PR with an empty CSV file #17224

noiaverbale opened this issue Oct 5, 2021 · 2 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/bug

Comments

@noiaverbale
Copy link

noiaverbale commented Oct 5, 2021

Gitea Version

1.15.3

Git Version

2.30.2

Operating System

Docker

How are you running Gitea?

Docker, image gitea/gitea:1.15.3

Database

PostgreSQL

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

https://gist.github.com/noiaverbale/4c3b1706e54f581c32eb3790fa7f7373

Description

When I click "New Pull Request" button from a branch where an empty csv file has been added to, an error 500 appears.

To reproduce it you just need to:

  1. checkout a new branch
  2. add, commit and push empty file with csv extension
  3. open new PR or compare with parent branch

URLs

Screenshots

SharedScreenshot

@KN4CK3R
Copy link
Member

KN4CK3R commented Oct 5, 2021

may be fixed in #17018

@delvh delvh added type/bug issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented labels Oct 5, 2021
@kdumontnu
Copy link
Contributor

Looks like this is fixed 🎉

@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
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 type/bug
Projects
None yet
Development

No branches or pull requests

4 participants