Skip to content

Fix "Cannot move project" error message from popping up after a successful transfer

Stan Hu requested to merge stanhu/gitlab-ce:fix-cannot-move-project-error into master

The JavaScript click handlers were never being removed, leading to duplicate requests when attempting to transfer a project to another namespace. The first transfer would succeed but the subsequent ones would fail, leading to the error message saying, "Cannot move project".

image

I attempted to write a unit test for this, but it was taking me too long to get it right.

Closes #1448 (closed) and #1128 (closed)

Merge request reports