I installed Site verification as part of the updating process for XML sitemap. (#464980: Remove search engine authentication/verification code) During the installation of Site verification I received a PHP error, Field 'meta' doesn't have a default value. As a result, the settings weren't imported into the Site verification module, but they were deleted from the XML sitemap variables.

While the schema states that the meta field can't have a null value, the import code doesn't provide a value for insertion into the field. The attached patch adjusts the import code so a blank text value is provided.

If someone has already run the import code by installing this module or running update 3, this won't restore their old settings. They would have to restore the variables table to a point before the import code was run and then reinstall or manually run update 3. Then they would have to revert the variables table back to it's current state to make sure they don't undo changes they made elsewhere on their site. Most likely, the only people who would want to go through that trouble are people with large multi-site installations.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave Reid’s picture

Status: Needs review » Fixed

Thanks! Fixed in CVS for 7.x-1.x and 6.x-1.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.