Make WordPress Core

Opened 11 years ago

Closed 6 years ago

#15217 closed defect (bug) (worksforme)

wp importer trunk regression: no longer accepts gz files

Reported by: lloydbudd Owned by: duck_
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: Import Keywords: needs-patch reporter-feedback
Focuses: Cc:


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"


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 11 years ago.
Simple gzip test case.

Download all attachments as: .zip

Change History (6)

#1 @lloydbudd
11 years ago

  • 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.

#2 @lloydbudd
11 years ago

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

Re-opening as resolved my issue.

11 years ago

Simple gzip test case.

#3 @duck_
11 years ago

  • 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.

#4 @chriscct7
7 years ago

  • Keywords reporter-feedback added

While your gz file didn't work, when I exported a WXR, added it to a gzip archive then imported it, it works. Can you re-test this?

#5 @chriscct7
6 years ago

  • Milestone WordPress.org deleted
  • Resolution set to worksforme
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.