Problem/Motivation

Notice: Undefined index: entity_translation_unified_form_translate_labels in entity_translation_unified_form_form_node_type_form_submit() (line 168 of modules/contrib/entity_translation_unified_form/entity_translation_unified_form.module).

entity_translation_unified_form_form_node_type_form_submit(Array, Object)
call_user_func_array('entity_translation_unified_form_form_node_type_form_submit', Array) (Line: 113)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 593)
Drupal\Core\Form\FormBuilder->processForm('node_type_edit_form', Array, Object) (Line: 321)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object) (Line: 39)
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)

Steps to reproduce

  1. Create a new content type
  2. Enable translation for the content type called "bundle name"
  3. Attempt to now save a new node
  4. /admin/structure/types/manage/bundle_name
    etuf link
  5. save content type

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

CommentFileSizeAuthor
etuf_settings.png81.7 KBjoseph.olstad

Comments

joseph.olstad created an issue. See original summary.

joseph.olstad’s picture

Issue summary: View changes
joseph.olstad’s picture

Issue summary: View changes

  • joseph.olstad committed cbea849 on 2.0.x
    Issue #3284345 by joseph.olstad: Enabling a content type with etuf can...
joseph.olstad’s picture

Status: Needs review » Fixed

  • joseph.olstad committed 16bcc3a on 2.0.x
    Issue #3284345 by joseph.olstad: Regression fix for change made on...

  • joseph.olstad committed 16bcc3a on 8.x-1.x
    Issue #3284345 by joseph.olstad: Regression fix for change made on...
  • joseph.olstad committed cbea849 on 8.x-1.x
    Issue #3284345 by joseph.olstad: Enabling a content type with etuf can...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

joseph.olstad’s picture

Title: Enabling a content type with etuf can throw an undefined index line 168 of entity_translation_unified_form.module » etuf throws an undefined index
Status: Closed (fixed) » Fixed
Notice: Undefined index: actions in entity_translation_unified_form_form_alter() (line 562 of modules/contrib/entity_translation_unified_form/entity_translation_unified_form.module).
Notice: Trying to access array offset on value of type null in entity_translation_unified_form_form_alter() (line 562 of modules/contrib/entity_translation_unified_form/entity_translation_unified_form.module).
Notice: Trying to access array offset on value of type null in entity_translation_unified_form_form_alter() (line 562 of modules/contrib/entity_translation_unified_form/entity_translation_unified_form.module).
Warning: array_search() expects parameter 2 to be array, null given in entity_translation_unified_form_form_alter() (line 562 of modules/contrib/entity_translation_unified_form/entity_translation_unified_form.module).
Warning: array_splice() expects parameter 1 to be array, null given in entity_translation_unified_form_form_alter() (line 567 of modules/contrib/entity_translation_unified_form/entity_translation_unified_form.module).

Fixed for this in previous commit.

involves scheduled_transitions compatibility improvement.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.