Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.9, 2.0
-
Fix Version/s: 2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
If custom data is entered for a Relationship - when you View the relationship - the custom data fields and values are NOT shown.
This is due to an problem in 61 of CRM/Contact/Page/View/Relationship.php.
Relationship type passed to CRM_Core_BAO_CustomGroup::getTree should be just the primary key of the relationship type (without the directional string):
$relType = $viewRelationship[$this->_id]['civicrm_relationship_type_id'];