I have some specific code importing vocabulary terms during an installation. So far the terms were imported succesfully but with the latest dev version of taxonomy_csv, a fatal error happens. I will provide a patch and more explanations in this issue...

CommentFileSizeAuthor
#1 fatal_error-1502856-1.patch1.12 KBguillaumev
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

guillaumev’s picture

Status: Active » Needs review
FileSize
1.12 KB

Here is a patch which shows the error and its fix: the issue was that $options['worst_level'] was not set, resulting in $messages[$worst_level] not existing and therefore $message not being set and the watchdog call below not working and causing a fatal error...

Let me know if this is unclear...

Daniel_KM’s picture

Status: Needs review » Fixed

Hi,

I commit your patch, but I think it's linked to another problem. Nevertheless, as I'm going to simplify the result process, this patch is currently sufficient.

Sincerely,

Daniel Berthereau
Infodoc & Knowledge management

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.