Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.0, 4.4.6, 4.5
-
Fix Version/s: 4.5.3
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
Description
It's not possible to add custom data to relationships that have the same label and the type of contact is in a certain order. E.g. contact_a = individual and contact_b = Organization does not appear on the custom data form, but if contact_a = Organization and contact_b = Individual it appears on the custom data form.
The order of contact is Individuals -> Organizations -> Households i.e. if the contact_a is an Individual and the contact_b is ahead in the order the bug will occur. Again, they must have the same label for this bug to happen.
The cause of the error is in this file -> sites/all/modules/civicrm/CRM/Custom/Form/Group.php , function getFormattedList.
Attached I added a modified version of this function on 4.4.6 that solves this issue. Please let me know if you would like us to submit a pull request.
Thanks!