[wp-trac] Re: [WordPress Trac] #9471: Attachments uploaded before post is saved or autosaved get 0 (zero) for post_parent (instead of temp_id value)

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 29 22:08:31 GMT 2009


#9471: Attachments uploaded before post is saved or autosaved get 0 (zero) for
post_parent (instead of temp_id value)
--------------------------+-------------------------------------------------
 Reporter:  aesqe         |       Owner:  scribu             
     Type:  defect (bug)  |      Status:  accepted           
 Priority:  normal        |   Milestone:  2.8.1              
Component:  Autosave      |     Version:  2.8                
 Severity:  major         |    Keywords:  needs-patch blocker
--------------------------+-------------------------------------------------
Changes (by scribu):

 * cc: scribu@… (added)
  * owner:  => scribu
  * status:  new => accepted


Comment:

 Replying to [comment:27 Denis-de-Bernardy]:
 > Works too. It might cause issues if several open windows related to the
 same draft are open at the same time, for whatever reason, and concurrent
 saves occur.

 Drafts don't have temporary ids, so they're not affected by this bug at
 all.

 AFAIK, every time you load the Add New panel, you get a different
 temporary id, so it's a non-issue.

 I'll start work on a patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9471#comment:28>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list