#1430 closed defect (fixed)

wp-migrate-db: null formatting error

Reported by: lencinhaus Owned by: bradt
Priority: high Component: not-listed
Severity: major Keywords: wp-migrate-db
Cc: bradt

Description

There is a bug in wp-migrate-db where strings that are NULL in the source database are converted to empty strings. This breaks some plugins (namely WPML), which behave differently when certain values are NULLs or empty strings. I'll attach a patch for version 0.2.2 that solves this problem.

Attachments (1)

wp-migrate-db.php.patch (694 bytes) - added by lencinhaus 18 months ago.
Patch for wp-migrate-db.php version 0.2.2

Download all attachments as: .zip

Change History (3)

Changed 18 months ago by lencinhaus

Patch for wp-migrate-db.php version 0.2.2

comment:1 Changed 18 months ago by lencinhaus

  • Owner set to bradt

comment:2 Changed 18 months ago by bradt

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for the patch! Applied in r476406.

Note: See TracTickets for help on using tickets.