Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.2.2
-
Component/s: Core CiviCRM
-
Labels:None
Description
While troubleshooting an unrelated error, I noticed the following code in CRM/Import/DataSource/SQL.php
$this->set('importTableName', $importJob->getTableName());
But there is no set() function defined within the CRM_Import_DataSource_SQL class.
I see that:
class CRM_Import_DataSource_SQL extends CRM_Import_DataSource
But in searching through CRM/Import/DataSource.php I find no set() function defined within the CRM_Import_DataSource class, either.
EDIT: As it turns out, the postProcess() function is never called. The attached patch resolves the problem by deleting the function body, converting it to a stub.