Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17703

Enotices on export when relationship type using 'any contact type' exists

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.10
    • Fix Version/s: 4.7
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      If you create a relationship type and choose 'any contact type' for the ends of the relationship then when exporting search results you get a bunch of eNotices like

      Notice: Undefined index: in CRM_Core_BAO_Mapping::buildMappingForm() (line 621 of /.../civicrm/CRM/Core/BAO/Mapping.php).

      The line in question is
      else

      { $target_type = 'contact_type_' . $second; $relatedFields = array_merge((array) $relatedMapperFields[$relationshipType->$target_type], (array) $relationshipCustomFields); }

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: