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

Adding relationship with multi-valued custom field fails

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      When adding a relationship that has a custom field set that contains a multi-valued field, such as a checkbox, the throbber spins until the page is refreshed and the error "unknown relationship create error A fatal error was triggered: Cannot recognize for" is displayed.

      I traced the problem to a block of code that was added for CRM-15829 in CRM/Contact/BAO/Relationship.php. The failure is on line 1481 (for v4.6.9). I have verified this also fails on the demo site.

        Attachments

        1. trace.txt
          616 kB
          Ellen Hendricks

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              ehendricks Ellen Hendricks
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: