Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.0
-
Fix Version/s: 4.4.1
-
Component/s: None
-
Labels:None
Description
Hi,
Test on a dutch version of civi that worked fine on 4.3.x, now when you try to register to an event, it fatals:
"Selecteer een locatie type van Billing"
(Please set a location type of Billing)
with backtrace, comes from
/CRM/Event/Form/Registration.php(398)
$locationTypes = CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id');
// CRM-8108 remove ts from Billing as the location type can not be translated in CiviCRM!
//$this->_bltID = array_search( ts('Billing'), $locationTypes );
print_r($locationTypes);
$this->_bltID = array_search('Billing', $locationTypes);
if (!$this->_bltID)
I'm not sure what's the right fix: is this to make CRM_Core_PseudoConstant NOT translate for location_type or revert CRM-8108
Over to you...
X+
Attachments
Issue Links
- blocks
-
CRM-13651 Unable to create a contribution after migration - msg: Please set a location type of Billing
- Done/Fixed