Hacks to avoid failure on upgrade due to new field not yet being in the DB
authoreileen <emcnaughton@wikimedia.org>
Wed, 1 Jul 2020 05:31:36 +0000 (17:31 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 1 Jul 2020 05:42:17 +0000 (17:42 +1200)
commit1fbda76b7250f4f68204b2928c1c2d549704c3b4
tree28faf0ab46a010b412bd73ecde72ff2062e27522
parent27a4777605a97b4a02588647cac5eed428186201
Hacks to avoid failure on upgrade due to new field not yet being in the DB

On attempting to upgrade I found I couldn't get to the upgrade screen add the new serialize field as
I got fatal errors in these 2 places (maybe more to come).

The new field is civicrm_custom_field.serialize
CRM/Core/BAO/CustomField.php
CRM/Core/BAO/Domain.php
CRM/Utils/Check/Component/Env.php
CRM/Utils/Check/Component/Schema.php
api/v3/CustomField.php