Skip to content

Fix project settings not being able to update

Stan Hu requested to merge sh-fix-import-url-update into master

A regression was introduced in GitLab 11.11.1 via 3d4821a8. Previously import_url would always be present in the update parameters, which would cause the validation to fail if an existing import_url were stored in a project. We now only include this parameter only if there is URL given.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62708

Edited by Stan Hu

Merge request reports