Skip to content

The ‘Manually merged’ button does not display the SHA input field #20983

Closed
@kytta

Description

@kytta

Description

I have noticed this issue on Codeberg, but I have been able to replicate it on Gitea.

Steps to reproduce

  1. Assuming there already is a branch with changes, create a pull request
  2. Follow the command-line instructions and merge the pull request locally, then push changes
  3. Refresh the PR page. It now says: This branch is already included in the target branch. There is nothing to merge.
  4. Click the ‘Manually merged’ button.

Expected behaviour

Just like in pre-1.17 versions, an input field appears, where one can enter the SHA of the merge commit

Actual behaviour

Nothing happens

Additional information

If one opens the DevTools, one can see that the input field is actually there, but hidden. I guess some script doesn’t toggle the display: none property off. If one does it manually, the field appears and functions well.

The issue doesn’t happen, if the auto-detection for manual merges is on and such merge gets automatically detected correctly.

Gitea Version

1.17.1+48-g91c2bab

Can you reproduce the bug on the Gitea demo site?

Yes, I have tested it.

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Debian 10

How are you running Gitea?

AFAIK, Codeberg runs Gitea as a systemd service on a Debian 10 server.

Database

MySQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions