Admin area - Repository size limit must be an integer error when trying to save any setting

Summary

When trying to save any setting in the admin area it errors out and mentions that the repository size limit must be an integer. GitLab is automatically changing the 0 to 0.0.

Steps to reproduce

Try to change any setting in the admin area.

What is the current bug behavior?

It expects repo size to be a whole #

What is the expected correct behavior?

This doesn't update itself to 0.0

Relevant logs and/or screenshots

gitlab-error-repo-size

Results of GitLab environment info

v12.1.1

Possible workaround

From ticket (internal)

good workaround would be to set these limits using the GitLab Settings API endpoint. Using the API, you can change the max_pages_size and max_attachment_size values (and more)

Edited Sep 02, 2020 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading