[wp-trac] [WordPress Trac] #9041: Infinite loop in livejournal API importer

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 4 10:32:09 GMT 2009


#9041: Infinite loop in livejournal API importer
--------------------------+-------------------------------------------------
 Reporter:  tellyworth    |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  General       |     Version:           
 Severity:  major         |    Keywords:           
--------------------------+-------------------------------------------------
 The new LiveJournal API importer #8999 gets stuck in an infinite loop when
 importing from a journal that has 0 comments.

 The fault seems to lie with the $maxid > $highest_id logic in
 download_comments().  The first of those ("loop over the metadata request
 until we have it all") loops infinitely because $highest_id is never
 incremented.

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


More information about the wp-trac mailing list