diff options
author | Rémy Coutable <remy@rymai.me> | 2016-12-19 21:03:06 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-12-19 21:03:06 +0300 |
commit | 8c8c4f8c5a5f5845b9ebca415aaa29278cb904c7 (patch) | |
tree | 04eac1446c4ba989d395787e0a5edddd2368cfaa /lib/gitlab/import_export | |
parent | 696aa2aee32f69d8c5a7352f03bae3dda2e660ba (diff) | |
parent | 0631c7bcdce5dcb2aac94b1b755e63022a62469f (diff) |
Merge branch 'fix/import-export-mr-error' into 'master'
Fix import/export merge requests error
When MWBS is set and the MR exported/imported an error gets thrown. We should ignore this so it can succeed as the merge user may no longer exist in the target instance.
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/24009 and https://gitlab.com/gitlab-com/support-forum/issues/1345
See merge request !8134
Diffstat (limited to 'lib/gitlab/import_export')
-rw-r--r-- | lib/gitlab/import_export/relation_factory.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/relation_factory.rb b/lib/gitlab/import_export/relation_factory.rb index b4f0f761add..65b229ca8ff 100644 --- a/lib/gitlab/import_export/relation_factory.rb +++ b/lib/gitlab/import_export/relation_factory.rb @@ -14,7 +14,7 @@ module Gitlab priorities: :label_priorities, label: :project_label }.freeze - USER_REFERENCES = %w[author_id assignee_id updated_by_id user_id created_by_id].freeze + USER_REFERENCES = %w[author_id assignee_id updated_by_id user_id created_by_id merge_user_id].freeze PROJECT_REFERENCES = %w[project_id source_project_id gl_project_id target_project_id].freeze |