Affects Version/s: 1.3
Fix Version/s: 1.4
The error below occurs on step 2 of contact import wizard if a relationship type record exists with
- contact type A = "the type being imported" AND
- contact type B = "all contacts"
The failure is in CRM/Import/Form/Mapfield.php around line 317 - because $cType is passed to the importableFields() function as a blank - when the function is expecting the string 'All' for this case. Note that in the error below, the contact type portion of the DAO file name is missing (DAO/.php).
[function.importableFields]: failed to open stream: No such file or
directory in /var/www/modules/civicrm/CRM/Contact/BAO/Contact.php on