gitlab-org--gitlab-foss/app/services
Bob Van Landuyt 2c0b677604 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.
2017-10-17 16:46:07 +02:00
..
application_settings
auth
boards
chat_names
ci
commits
concerns
deploy_keys
discussions
emails
files
gpg_keys
groups
issuable
issues
keys
labels
mattermost
members
merge_requests Merge branch '38236-remove-build-failed-todo-if-it-has-been-auto-retried' into 'master' 2017-10-16 12:14:42 +00:00
milestones
notes
projects Fix errors when deleting a forked project 2017-10-17 16:46:07 +02:00
protected_branches
protected_tags
quick_actions
search
tags
test_hooks
users
wiki_pages
access_token_validation_service.rb
after_branch_delete_service.rb
akismet_service.rb
audit_event_service.rb
base_service.rb
cohorts_service.rb
compare_service.rb
create_branch_service.rb
create_deployment_service.rb
create_release_service.rb
create_snippet_service.rb
delete_branch_service.rb
delete_merged_branches_service.rb
event_create_service.rb
git_push_service.rb
git_tag_push_service.rb
gravatar_service.rb
ham_service.rb
import_export_clean_up_service.rb
issuable_base_service.rb
metrics_service.rb
note_summary.rb
notification_recipient_service.rb
notification_service.rb
pages_service.rb
preview_markdown_service.rb
push_event_payload_service.rb
repair_ldap_blocked_user_service.rb
repository_archive_clean_up_service.rb
search_service.rb
spam_check_service.rb
spam_service.rb
submit_usage_ping_service.rb
system_hooks_service.rb
system_note_service.rb
todo_service.rb
update_release_service.rb
update_snippet_service.rb
upload_service.rb
user_agent_detail_service.rb
user_project_access_changed_service.rb
validate_new_branch_service.rb
web_hook_service.rb