Renaming a folder renames all subordinate folders too

  • 3
  • Problem
  • Updated 8 years ago
Say I have a folder structure:

+ Foo/
+ Subfolder 1/
+ Subfolder 2/

If I rename Foo -> Bar, I end up with:

+ Bar/
+ Bar/
+ Bar/
Photo of ngoffee

ngoffee

  • 4 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 3
Photo of ngoffee

ngoffee

  • 4 Posts
  • 0 Reply Likes
Sorry, my indentation didn't show up when I posted the above. In each of the two examples, the two folders under the first '+' should be subordinate to it.
Photo of Martijn van der Ven

Martijn van der Ven

  • 34 Posts
  • 1 Reply Like
I can verify this. Any and all children (either direct children or sub-sub-sub folders) get renamed together with the parent.

+ Folder
|+ Sub1
|+ Sub2
||+ Subsub1
|+ Sub3

Renaming Folder renames everything (including Subsub1), renaming Sub2 renames both Sub2 and Subsub1.
Photo of Martijn van der Ven

Martijn van der Ven

  • 34 Posts
  • 1 Reply Like
Addition to this bug: this happens client-side only.
If you rename a folder and do a strong refresh from the server only the folder you have renamed sticks to the new name and all children are reverted to their original names.
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
Oh, phew. OK, I'll get right on this. The server side is heavily tested, since it cannot fail by any means. However, the client-side is a bit more forgiving. But it's a critical bug nonetheless.
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
Bone-headed code bug. Fixed in a minute. Deployed.

Thanks for the thorough bug report. These make my day. :-)

Also, see here for the gory details: https://github.com/samuelclay/NewsBlu...