Skip to content

Markdown preview not found when Issue tracker and Pull requests are disabled #31180

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

Closed
jorisdrenth opened this issue May 30, 2024 · 1 comment
Labels

Comments

@jorisdrenth
Copy link

jorisdrenth commented May 30, 2024

Description

The wiki markdown editor has an error where the preview gives "Not found" when the Issue tracker and Pull requests are disabled on a repository.

Steps to reproduce:

  • create a repo
  • go to settings
  • uncheck "Enable Repository Issue Tracker" and "Enable Repository Pull Requests" and save the settings
  • go to the wiki tab
  • click "Create the first page"
  • click on "Preview"

You will now see "Not found" in stead of a preview of your markdown.

The browser console will show a 404 on the URL "POST
https://demo.gitea.com/jorisdrenth/issue_test_2/markup"

Gitea Version

1.22

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Debian

How are you running Gitea?

Binary, on a Debian based dedicated VPS.

Database

SQLite

@jorisdrenth jorisdrenth changed the title Markdown preview not found when Issue tracker is disabled Markdown preview not found when Issue tracker and Pull requests are disabled May 30, 2024
@MaxWipfli
Copy link
Contributor

MaxWipfli commented Jun 1, 2024

This was fixed by #31158.

@lunny lunny closed this as completed Jun 2, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Sep 1, 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