Delete a file via web not giving errors, not allowing new branch if source branch protected #3605

Closed
opened 2025-11-02 05:18:56 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @richmahn on GitHub (Jul 16, 2019).

A few errors in v1.9-rc2, in that the Delete UI will not report an error if a bad filename, existing branch, etc. are given as then it throws an error in the template, since it uses the wrong template page for errors. It also won't let you delete and commit to a copy of the source branch if the source branch is protected, as it says that the new branch is protected, which it isn't.

Originally created by @richmahn on GitHub (Jul 16, 2019). A few errors in v1.9-rc2, in that the Delete UI will not report an error if a bad filename, existing branch, etc. are given as then it throws an error in the template, since it uses the wrong template page for errors. It also won't let you delete and commit to a copy of the source branch if the source branch is protected, as it says that the new branch is protected, which it isn't.
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 05:18:56 -06:00
Author
Owner

@stale[bot] commented on GitHub (Sep 15, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Sep 15, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@lunny commented on GitHub (Apr 20, 2021):

Fixed by #7478

@lunny commented on GitHub (Apr 20, 2021): Fixed by #7478
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3605