While having a taxonomy vocabulary with translation option enabled:
"Localize. Terms are common for all languages, but their name and description may be localized."
- and trying to delete some terms from this vocabulary causes issue 500:
PHP Fatal error: Call to undefined method EntityValueWrapper::getBundle() in /Users/sorin1/Sites/drupal-clean/sites/all/modules/contrib/smartling/lib/Drupal/smartling/Forms/GenericEntitySettingsForm.php on line 85, referer: http://local.drupal-clean.com/taxonomy/term/4/edit?destination=admin%2Fs...
This being caused because $entity_type = $form['#entity_type'] is not present in form while running delete option.
Please find attached proposed fix (patch).
Comment | File | Size | Author |
---|---|---|---|
smartling-2.x-term-deletion.patch | 728 bytes | sorinb |
Comments
Comment #3
Soul88Thank you, Sorin!