Voting starts in March for the Drupal Association Board election.
We are using the Migrate module to migrate content from a Drupal 6 site to a Drupal 7 version of the site and as part of that we are migrating various Imagefield fields. These imagefields also have Filefield Paths settings for subdirectories and so during the file migrations code in Filefield Paths is getting called.
Our target environment is Ubuntu 10.4 LTS which is what Acquia uses on its appservers. This version of Ubuntu uses PHP 5.3.2. There is a problem with the PHP parse_url() function that was only corrected in PHP 5.3.3+ as noted in the docs:
5.3.3 Removed the E_WARNING that was emitted when URL parsing failed.
One of the parse_url() calls in Filefield Paths that happens during our migration for a single imagefield fails on servers with PHP 5.3.2 but works just fine in later versions of PHP. This makes sense given that in 5.3.2 PHP was triggering a warning that the Migrate module code interprets as as error and halts the migration.
The patch attached simply adds the '@' in front of the offending parse_url() call in order to suppress the warning in PHP 5.3.2. With this change the migrations work as intended just as they do on PHP 5.3.3+.