[wp-trac] [WordPress Trac] #12938: Autosave draft page deletes parent_id

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 9 13:19:16 UTC 2010


#12938: Autosave draft page deletes parent_id
--------------------------+-------------------------------------------------
 Reporter:  duck_         |       Owner:  azaozz   
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Autosave      |     Version:  2.7      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Create a new page. Add title, content and set a parent page. Save draft
 and then wait for autosave. Reload the page.

 Actual: Parent page is reset to Main page (no parent)

 Expected: Parent page should stay the same

 This is caused by drafts being completely overwritten by autosaves (not
 just title, content, excerpt) combined with no parent_id being sent by
 autosave.js.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12938>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list