Commit 2d0c3eb4 authored by alexpott's avatar alexpott

Issue #2843060 by amateescu: Term field "parent" could not be handled properly...

Issue #2843060 by amateescu: Term field "parent" could not be handled properly by ContentEntityBase::hasTranslationChanges
parent e81312ba
......@@ -237,17 +237,4 @@ public function getVocabularyId() {
return $this->bundle();
}
/**
* {@inheritdoc}
*/
protected function getFieldsToSkipFromTranslationChangesCheck() {
// @todo the current implementation of the parent field makes it impossible
// for ::hasTranslationChanges() to correctly check the field for changes,
// so it is currently skipped from the comparision and has to be fixed by
// https://www.drupal.org/node/2843060.
$fields = parent::getFieldsToSkipFromTranslationChangesCheck();
$fields[] = 'parent';
return $fields;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment