Trying to geocode nodes using drush and the patch #2077317: Add a --limit,--only-entity, and --only-bundle option to drush command, enable for any entity gave me several errors which I eventually tracked down to revisioning_node_update():
WD node: EntityMalformedException: Propriété de bundle manquante sur l'entité de type node. in entity_extract_ids() (line 7734 of /home/httpv/drupal7/includes/common.inc).
WD php: EntityMalformedException: Propriété de bundle manquante sur l'entité de type node. in entity_extract_ids() (line 7734 of /home/httpv/drupal7/includes/common.inc).
EntityMalformedException : Propriété de bundle manquante sur l'entité de type node. dans entity_extract_ids() (ligne 7734 dans /home/httpv/drupal7/includes/common.inc).
Drush command terminated abnormally due to an unrecoverable error.
The function drush_geocoder_backfill() sets $entity->original = array(), which works fine everywhere else but causes problems with this module. geocoder can't just unset that or set it to NULL because that would make node_save() think it should create a new revision, which isn't correct.
I know I'm asking for a patch that will make another experimental patch work from another module, but all this needs is a very simple, safe test and I think it's reasonable to include it.
I think this may also be related to #2021107: Undefined property errors in combination with User Points, but I don't use the user points module and can't test it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | revisioning-dont-clobber-node-original-2276657-1.patch | 643 bytes | mvc |
Comments
Comment #1
mvcComment #3
rdeboerPatch applied with attribution.
Thanks mvc!
Rik