Author: mcantelon
Date: Tue Jan 10 16:35:45 2012
New Revision: 10639
Log:
Replaced exception throw with print of error so as not to disrupt import.
Modified:
trunk/lib/task/csvImportTask.class.php
Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php Tue Jan 10 15:45:30 2012
(r10638)
+++ trunk/lib/task/csvImportTask.class.php Tue Jan 10 16:35:45 2012
(r10639)
@@ -257,7 +257,8 @@
{
$parentId = $mapEntry->target_id;
} else {
- throw new sfException('Could not find parent '.
$self->rowStatusVars['PARENT_ID'] .'in key_map table');
+ print "\nERROR: COULD NOT FIND PARENT\n";
+ //throw new sfException('Could not find parent '.
$self->rowStatusVars['PARENT_ID'] .'in key_map table');
}
}
@@ -396,7 +397,7 @@
'copyrightStatusId' => 306
));
} else {
- print "\nCOPYRIGHT HOLDER NOT FOUND\n";
+ print "\nERROR: COPYRIGHT HOLDER NOT FOUND\n";
// throw new sfException('Copyright holder not specified');
}
break;
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.