Opened 3 years ago

Last modified 3 years ago

#15217 reopened defect (bug)

wp importer trunk regression: no longer accepts gz files

Reported by: lloydbudd Owned by: duck_
Priority: normal Milestone: WordPress.org
Component: Import Version: 3.1
Severity: normal Keywords: needs-patch
Cc:

Description

wordpress-importer trunk r304267 no longer accepts gzipped WXR files.

This is a regression from the current wordpress-importer importer, v0.2 .

Actual Results

"Sorry, there has been an error.
There was an error when reading this WXR file"

Environment

WordPress Trunk r14360 (3.1-alpha)
wordpress-importer trunk r304267

Additional Details

Relates to #15197 "WXR export/import umbrella ticket"

I notice that same error message "There was an error when reading this WXR file" is in two parts of the source. It might be better to make each error message more unique and add additional details.

Attachments (1)

testingtrunk.wordpress.2010-10-26.xml.gz (1.6 KB) - added by lloydbudd 3 years ago.
Simple gzip test case.

Download all attachments as: .zip

Change History (4)

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Marking invalid for now. I can't get the trunk importer to work on any file currently.

  • Milestone set to Awaiting Review
  • Resolution invalid deleted
  • Status changed from closed to reopened

Re-opening as resolved my issue.

Simple gzip test case.

  • Keywords needs-patch added; wordpress-importer WXR gzip removed
  • Milestone changed from Awaiting Review to WordPress.org site

I will look into adding gzip support to the two new parsers as they're the best choices, and will also add a fallback to the old, regular expression based one if we get any errors.

Note: See TracTickets for help on using tickets.