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

cannot un-WIP or change PR title #30030

Closed
rafipiccolo opened this issue Mar 23, 2024 · 3 comments
Closed

cannot un-WIP or change PR title #30030

rafipiccolo opened this issue Mar 23, 2024 · 3 comments
Labels

Comments

@rafipiccolo
Copy link

Description

since new version of gitea 1.21.9, i can't un-WIP a PR. i get the error

JavaScript error: Cannot read properties of undefined (reading 'endsWith') (https://gitea.raphaelpiccolo.com/assets/js/index.js?v=1.21.9 @ 20:181341). Open browser console to see more details.

i also cant change PR title. i get no error, but it does nothing

inspecting the ajax request says :

<p>Une erreur s’est produite:</p>
					<pre class="gt-whitespace-pre-wrap gt-break-all">ChangeTitle, exit status 128 - fatal: ambiguous argument &#39;&#39;: unknown revision or path not in the working tree.
Use &#39;--&#39; to separate paths from revisions, like this:
&#39;git &lt;command&gt; [&lt;revision&gt;...] -- [&lt;file&gt;...]&#39;
 - fatal: ambiguous argument &#39;&#39;: unknown revision or path not in the working tree.
Use &#39;--&#39; to separate paths from revisions, like this:
&#39;git &lt;command&gt; [&lt;revision&gt;...] -- [&lt;file&gt;...]&#39;
</pre>

Gitea Version

1.21.9

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

2.40.1

Operating System

ubuntu on the host, i dont know what is in the docker image

How are you running Gitea?

docker compose

gitea:
        image: gitea/gitea:latest
        container_name: gitea
        restart: always
        volumes:
            - ./gitea:/data

Database

MySQL/MariaDB

@wxiaoguang
Copy link
Contributor

Here are some workarounds: #29997 (comment)

@silverwind
Copy link
Member

Duplicate of #29997 (comment), pinned that one.

@silverwind silverwind closed this as not planned Won't fix, can't repro, duplicate, stale Mar 23, 2024
@wxiaoguang
Copy link
Contributor

Ref #29997

Sorry for the inconvenience.

  • It could be fixed by updating to pre-1.21.10:

@go-gitea go-gitea locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants