I have written a small CSV importer for entity_translations.
The creation/updating of the translations works perfect.
I noticed that my pathauto was not updated so I looked in the API and code and found
module_invoke_all('entity_translation_save', $form['#entity_type'], $form['#entity'], $form['#language']);
To trigger this.

But when invoking
module_invoke_all('entity_translation_save', 'node', $entity, $row_langcode);

I get the following error:
Fatal error: Call to undefined function _entity_translation_path_enabled()

Comments

plach’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Bugs should be reported against the latest dev. Please try to upgrade and see if you issue is fixed. Also, we need a list of steps to reproduce the bug.

thim’s picture

I'll try to upgrade.

thim’s picture

Unable to upgrade because of entity_translation error after upgrade from Alpha2 to Beta2.

http://drupal.org/node/1850634