-
Bug
-
Resolution: Fixed
-
Low
-
5.4.3
-
None
When moving a page hierarchy between spaces, if there is any page in the hierarchy being moved with the same name as a page in the target space, the move will abort with the message: "A descendent page shares the same title of another page in the selected space."
It should say which page(s) have duplicate names, and provide a way to resolve the problem (e.g. prompt to rename src pages with some suffix).
I think we should automatically rename colliding pages from the space we're moving things out of, so that we suffix them with " (1)" or 2 etc if that suffix is already in use, truncating the original page title if necessary to keep it under 255 chars. We can then provide a list of pages that collided after we're done moving everything, and help the user to rename these pages to something else should they want to (maybe force any links on this report to open in a new tab, so they can easily come back to it). Any renames will have to update any references as well.