Skip to content

Fix transfering groups to root for EE

Jarka Košanová requested to merge fix-group-transfer into master

What does this MR do?

When transferring a group to the root we got an error undefined method root_ancestor' for nil:NilClassbecause we have a checkgroup.root_ancestor == new_parent_group.root_ancestor`. This check runs only if packages feature is available (EE).

This MR fixes that.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports