Renaming a layer is not recorded in the undo history. That's pretty much it.
*** This bug has been marked as a duplicate of bug 380437 ***