[wp-trac] [WordPress Trac] #15283: wordpress-importer trunk tries to read empty document

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 2 02:27:26 UTC 2010


#15283: wordpress-importer trunk tries to read empty document
--------------------------+-------------------------------------------------
 Reporter:  lloydbudd     |       Owner:  duck_          
     Type:  defect (bug)  |      Status:  new            
 Priority:  low           |   Milestone:  Awaiting Review
Component:  Import        |     Version:  3.1            
 Severity:  minor         |    Keywords:  needs-patch    
--------------------------+-------------------------------------------------
 wordpress-importer trunk r306039 a refresh on wp-
 admin/admin.php?import=wordpress&step=2 results in errors like

 {{{
 1:1 Document is empty

 1:1 Start tag expected, '<' not found

 There was an error when reading this WXR file
 Details are shown above. The importer will now try again with a different
 parser...

 Fatal error: Maximum execution time of -1 seconds exceeded in
 /Users/lloyd/Sites/wp/trunk/wp-content/plugins/wordpress-
 importer/parsers.php on line 382
 }}}

 This would seem to suggest the importer would benefit from additional
 defensive programming. (Sorry, I can't help but test weird stuff, QA is in
 my blood.)

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


More information about the wp-trac mailing list