Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.3
-
Component/s: Core CiviCRM
-
Labels:None
Description
Currently while inserting onbehalf of profile we assume there is location type "Main". If location type Main is deleted upgrade fails.
So modify the upgrade script to check if Main location type exists, if not create new location type "Main" and use that location type during upgrade.
Issue originally posted on http://forum.civicrm.org/index.php/topic,20334.0.html