Unable to remove 'WIP' from PR title #12806

Closed
opened 2025-11-02 10:21:35 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @chr15m on GitHub (Apr 9, 2024).

Description

To replicate:

  • Create a PR with the name 'WIP: Testing'
  • Try to change the title to 'Testing'
  • Observe errors on the console
POST https://REDACTED.com/REDACTED/REDACTED/pulls/488/t_repo-issue.js:554
Status: 500 (Internal Server Error)
JavaScript error: Cannot read properties of undefined (reading 'endsWith') (https://b1fed6fb.hostedgitea.com/assets/js/index.js?v=1.21.9 @ 20:181341). Open browser console to see more details.
Uncaught (in promise)
{
  readyState: 4,
  getResponseHeader: f,
  getAllResponseHeaders: f,
  setRequestHeader: f,
  overrideMimeType: f,
  ...
}

Gitea Version

1.21.9

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Git Version

2.17.1

Operating System

Ubuntu 18

How are you running Gitea?

Downloaded binary release.

Database

SQLite

Originally created by @chr15m on GitHub (Apr 9, 2024). ### Description To replicate: - Create a PR with the name 'WIP: Testing' - Try to change the title to 'Testing' - Observe errors on the console ``` POST https://REDACTED.com/REDACTED/REDACTED/pulls/488/t_repo-issue.js:554 Status: 500 (Internal Server Error) ``` ``` JavaScript error: Cannot read properties of undefined (reading 'endsWith') (https://b1fed6fb.hostedgitea.com/assets/js/index.js?v=1.21.9 @ 20:181341). Open browser console to see more details. ``` ``` Uncaught (in promise) { readyState: 4, getResponseHeader: f, getAllResponseHeaders: f, setRequestHeader: f, overrideMimeType: f, ... } ``` ### Gitea Version 1.21.9 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ### Git Version 2.17.1 ### Operating System Ubuntu 18 ### How are you running Gitea? Downloaded binary release. ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 10:21:35 -06:00
Author
Owner

@February30th commented on GitHub (Apr 9, 2024):

Already fixed on v1.21.10

@February30th commented on GitHub (Apr 9, 2024): Already fixed on v1.21.10
Author
Owner

@chr15m commented on GitHub (Apr 9, 2024):

Oh, my apologies! Thank you.

@chr15m commented on GitHub (Apr 9, 2024): Oh, my apologies! Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12806