500 error when deleting repository group

Issue #831 resolved
Augusto Herrmann created an issue

Using Rhodecode 1.5.4. In case this is already solved in 1.6.0rc1, I apologise.

How to reproduce:

  1. Create a new repository group, test-level1.
  2. Create another new repository group test-level2, nesting it below test-level1.
  3. Try to delete the parent repository group (test-level1).
  4. 500 Server Error

Expected behaviour should be a nested delete of any child groups (optionally after confirmation).

I'm marking this bug as minor priority because, as a workaround, you still can manually delete all the repository groups by starting from the leaves of the tree (though it will be a lot of work to do manually, if the tree is large).

Comments (2)

  1. Marcin Kuzminski repo owner

    In 1.6.0rc1 this case will show you a warning message: "This group contains 1 subgroups and cannot be deleted"

    I think deleting a nested structures should be possible. I'll put an extra delete button in next version that will have a checkbox that would define a recursive delete off all children of a repo group

  2. Log in to comment