Skip to content

Create Wiki page with empty "Commit message" returns HTTP 500

Summary

When I try to create a wiki page on a project in gitlab.com with empty "Commit message", HTTP 500 is returned.

Steps to reproduce

  1. Try to create a new page on Wiki
  2. Type something into "Content"
  3. Remove the default "Commit message"
  4. Click "Create Page"

Example Project

What is the current bug behavior?

HTTP 500 page is returned

What is the expected correct behavior?

Either say that the commit message should not be empty, or just let the page create.

Relevant logs and/or screenshots

No log could be provided, it is reproduced on the gitlab.com instance..

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Results of GitLab application Check

Possible fixes