Active
Project:
UUID Features Integration
Version:
7.x-1.0-alpha1
Component:
uuid_term
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2011 at 11:30 UTC
Updated:
8 Jan 2012 at 18:51 UTC
Hallo,
on an empty d7 installation I exported four terms from one vocab into a new feature.
After that I deleted one term and tried to restore it by reverting feature.
By reverting I got different notices and warnings:
Notice: Undefined variable: term in uuid_term_features_rebuild() (Zeile 139 von /home/www/d7/local/sites/all/modules/contrib/uuid_features/includes/uuid_term.features.inc).
Notice: Trying to get property of non-object in taxonomy_term_save() (Zeile 567 von /home/www/d7/local/modules/taxonomy/taxonomy.module).
Notice: Undefined property: stdClass::$vid in taxonomy_term_save() (Zeile 569 von /home/www/d7/local/modules/taxonomy/taxonomy.module).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (Zeile 178 von /home/www/d7/local/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (Zeile 354 von /home/www/d7/local/includes/entity.inc).
Notice: Trying to get property of non-object in taxonomy_term_save() (Zeile 570 von /home/www/d7/local/modules/taxonomy/taxonomy.module).
Notice: Undefined index: field_name in _field_invoke() (Zeile 188 von /home/www/d7/local/modules/field/field.attach.inc).
Notice: Undefined index: field_name in _field_invoke() (Zeile 188 von /home/www/d7/local/modules/field/field.attach.inc).Feature state is "Rebuilding", but there is nothing to do for me to rebuild feature...
I tried 7.x-1.x-dev, but it was the same result.
Has anyone an idea?
Many thanks in advance,
Ralf
| Comment | File | Size | Author |
|---|---|---|---|
| cannot-rebuild-uuid-features.png | 113.44 KB | R.Hendel |
Comments
Comment #1
ianwremmel commentedI saw this error when trying to move a set of terms from a staging site to a production site. The error occurs because $term on line 139 of uuid_term.features.inc is most definitely undefined so I changed this issue from a support request to a bug report.
I tried changing line 139 of uuid_term.features.inc from
to
but that apparently wasn't an adequate solution as it led to a PDO error.
Once encountered, this error prevents access to admin/modules and admin/structure/features until the feature is disabled by directly editing the system table.