[wp-trac] [WordPress Trac] #28288: New Post overwriting a previously published post

WordPress Trac noreply at wordpress.org
Sat May 17 01:03:46 UTC 2014


#28288: New Post overwriting a previously published post
-------------------------------+-----------------------------
 Reporter:  jackreichert       |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  3.9.1
 Severity:  normal             |   Keywords:
  Focuses:  administration     |
-------------------------------+-----------------------------
 This was seen on wordpress.com, a user had multiple draft windows open. At
 one point when saving one draft, it wrote over another previously
 published post.

 I believe that it was caused by a race condition that has to do with the
 environment being hosted on multiple servers.

 '''To reproduce:'''
 1. Open in quick succession multiple draft windows.
 2. Check in developer tools for post_id duplicate.

 I believe that a possible solution would be to enhance post-locking to
 include if a post is open in duplicate windows by the same user.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28288>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list