Error on translating fields

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 Drupalconfig_translationFormConfigTranslationFormBase->submitForm() (line 203 of coremodulesconfig_translationsrcFormConfigTranslationFormBase.php).

Drupalconfig_translationFormConfigTranslationFormBase->submitForm(Array, Object) (Line: 36)
Drupalconfig_translationFormConfigTranslationAddForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 111)
DrupalCoreFormFormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
DrupalCoreFormFormSubmitter->doSubmitForm(Array, Object) (Line: 583)
DrupalCoreFormFormBuilder->processForm('config_translation_add_form', Array, Object) (Line: 314)
DrupalCoreFormFormBuilder->buildForm(Object, Object) (Line: 74)
DrupalCoreControllerFormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}() (Line: 574)
DrupalCoreRenderRenderer->executeInRenderContext(Object, Object) (Line: 124)
DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}()
call_user_func_array(Object, Array) (Line: 139)
SymfonyComponentHttpKernelHttpKernel->handleRaw(Object, 1) (Line: 62)
SymfonyComponentHttpKernelHttpKernel->handle(Object, 1, 1) (Line: 57)
DrupalCoreStackMiddlewareSession->handle(Object, 1, 1) (Line: 47)
DrupalCoreStackMiddlewareKernelPreHandle->handle(Object, 1, 1) (Line: 98)
Drupalpage_cacheStackMiddlewarePageCache->pass(Object, 1, 1) (Line: 77)
Drupalpage_cacheStackMiddlewarePageCache->handle(Object, 1, 1) (Line: 47)
DrupalCoreStackMiddlewareReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
DrupalCoreStackMiddlewareNegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
StackStackedHttpKernel->handle(Object, 1, 1) (Line: 628)
DrupalCoreDrupalKernel->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

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/30/feed

Leave a Reply