When using shared user profiles across multiple sites via database prefixing, the profile2_update_7101 and profile2_update_7102 update scripts will run into errors after the fields have already been added.

CommentFileSizeAuthor
#1 profile2-n1881414.patch2.86 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
2.86 KB

This patch adds a !db_field_exists() check before adding each new field, and leaves a message via drupal_set_message() if the field happened to exist already.