summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-10-17 16:33:30 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-10-17 16:46:07 +0200
commit2c0b677604e438b9bf608e6ea17b47e5640b4700 (patch)
tree5b2fd56ea9796af05980ad9ea754f16cf41e53f7 /lib
parentf69b54682fc1770a73c528032b1a86f3e7d547a1 (diff)
downloadgitlab-ce-2c0b677604e438b9bf608e6ea17b47e5640b4700.tar.gz
Fix errors when deleting a forked project
The problem would occur when the `ForkedProjectLink` was deleted, but the `ForkNetworkMember` was not. The delete would be rolled back and retried. But the error would not be saved because `Project#forked?` would still be true, because the `ForkNetworkMember` exists. But the `Project#forked_project_link` would be `nil`. So the validation for the visibility level would fail.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions