This bug was present in the version 2494, and since it was not mentioned on the changelog, I assume it still exists in 2513.
Undoing after placing a door on a wall removes the door but does not restore the wall - leaving a door-shaped hole that cannot be mended by any means.
Existance on the latest version not tested. Possibility or condition of reproduction not tested. Whether it goes same with various other types of doors not tested. Whether it appears when undoing window placement not tesed.
Unfortunately, I cannot use my PC right now, and would be glad if someone confirmed or denied the statements above.