Hi,

I activated config translation and content translation and want to translate the field label of a content type. Every time I submit the translation form of any field I get the following error message (here the name of the field is field_ref_contactperson):

Notice: Undefined index: field.storage.node.field_ref_contactperson in Drupal\config_translation\Form\ConfigTranslationFormBase->submitForm() (line 203 of core\modules\config_translation\src\Form\ConfigTranslationFormBase.php).

Drupal\config_translation\Form\ConfigTranslationFormBase->submitForm(Array, Object) (Line: 36)
Drupal\config_translation\Form\ConfigTranslationAddForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('config_translation_add_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 74)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 574)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
call_user_func_array(Object, Array) (Line: 139)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 62)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 98)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 77)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 628)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

When I open the translation form again the translated label is filled in the input field and when I open the node form the field label is translated but it is not when I view the node. Did anyone have the same trouble?

Best,
Tobias

Comments

baddysonja’s picture

Yes, I have exactly the same problem. Do you have a solution yet?

tobiberlin’s picture

No, unfortunately not but I did not have the time to go in deeper. I hope to find some time for that in a few days

Drupal lead developer and project manager from Berlin, working now for https://www.abgeordnetenwatch.de/

baddysonja’s picture

Same here :)

RoloDMonkey’s picture

--

Read more at iRolo.net