Failed to load under entity_browser

Created on 4 March 2020, over 4 years ago
Updated 17 July 2023, over 1 year ago

The module can't not find the node entity and node id when load the node edit form under entity_browser. We need to add the check for entity browser and get the node id.

#0 www/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(539): show_node_aliases_field_widget_path_form_alter(Array, Object(Drupal\Core\Form\FormState), Array)
#1 www/web/core/lib/Drupal/Core/Field/WidgetBase.php(355): Drupal\Core\Extension\ModuleHandler->alter('field_widget_fo...', Array, Object(Drupal\Core\Form\FormState), Array)
#2 www/web/core/lib/Drupal/Core/Field/WidgetBase.php(211): Drupal\Core\Field\WidgetBase->formSingleElement(Object(Drupal\pathauto\PathautoFieldItemList), 0, Array, Array, Object(Drupal\Core\Form\FormState))
#3 www/web/core/lib/Drupal/Core/Field/WidgetBase.php(113): Drupal\Core\Field\WidgetBase->formMultipleElements(Object(Drupal\pathauto\PathautoFieldItemList), Array, Object(Drupal\Core\Form\FormState))
#4 www/web/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(178): Drupal\Core\Field\WidgetBase->form(Object(Drupal\pathauto\PathautoFieldItemList), Array, Object(Drupal\Core\Form\FormState))
#5 www/web/modules/contrib/inline_entity_form/src/Form/EntityInlineForm.php(170): Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm(Object(Drupal\node\Entity\Node), Array, Object(Drupal\Core\Form\FormState))
#6 www/web/modules/contrib/inline_entity_form/src/Form/NodeInlineForm.php(52): Drupal\inline_entity_form\Form\EntityInlineForm->entityForm(Array, Object(Drupal\Core\Form\FormState))
#7 www/web/modules/contrib/inline_entity_form/src/Element/InlineEntityForm.php(136): Drupal\inline_entity_form\Form\NodeInlineForm->entityForm(Array, Object(Drupal\Core\Form\FormState))
#8 [internal function]: Drupal\inline_entity_form\Element\InlineEntityForm::processEntityForm(Array, Object(Drupal\Core\Form\FormState), Array)
#9 www/web/core/lib/Drupal/Core/Form/FormBuilder.php(999): call_user_func_array(Array, Array)
#10 www/web/core/lib/Drupal/Core/Form/FormBuilder.php(1062): Drupal\Core\Form\FormBuilder->doBuildForm('entity_browser_...', Array, Object(Drupal\Core\Form\FormState))
#11 www/web/core/lib/Drupal/Core/Form/FormBuilder.php(1062): Drupal\Core\Form\FormBuilder->doBuildForm('entity_browser_...', Array, Object(Drupal\Core\Form\FormState))
πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States phoang

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States justcaldwell Austin, Texas

    I was unable to reproduce this issue with Entity Browser 8.x-2.9 on Drupal 9 (and using the example browser entity_browser_example).

    Feel free to reopen if you're able to provide specific steps to reproduce this.

Production build 0.71.5 2024