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

Closed
opened 2025-11-02 10:29:26 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @jorisdrenth on GitHub (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

Originally created by @jorisdrenth on GitHub (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
GiteaMirror added the type/bug label 2025-11-02 10:29:26 -06:00
Author
Owner

@MaxWipfli commented on GitHub (Jun 1, 2024):

This was fixed by #31158.

@MaxWipfli commented on GitHub (Jun 1, 2024): This was fixed by #31158.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13072