Renaming folders

Matija Obreza requested to merge renaming-folders into main

Added test to ensure folder renames work properly.

I got this exception when trying to rename a folder:

Cannot delete or update a parent row: a foreign key constraint fails
  (`genesys202108`.`repository_gallery`, CONSTRAINT `FK_trk7cw1r3dsxgu8jlia1ecrgk` FOREIGN KEY (`folder_id`) REFERENCES `repository_folder` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION)
  1. It should not try to remove the existing gallery.
  2. Gallery paths need to be updated.
  3. I'm sure you can come up with additional tests.
Edited by Matija Obreza

Merge request reports