Drupal core 8.9.1, taxonomy_menu 3.4 and 3.x-dev.
When i add a new taxonomy memu(/admin/structure/taxonomy_menu/add), This problem will also occur.
The browser returned the following content:
Drupal\Core\Config\Schema\SchemaIncompleteException: Entity type 'Drupal\Core\Config\Entity\ConfigEntityType' is missing 'config_export' definition in its annotation in Drupal\Core\Config\Entity\ConfigEntityBase->toArray() (line 251 of core\lib\Drupal\Core\Config\Entity\ConfigEntityBase.php).
file_upload_options_form_alter(Array, Object, 'taxonomy_menu_add_form') (Line: 539)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'taxonomy_menu_add_form') (Line: 838)
Drupal\Core\Form\FormBuilder->prepareForm('taxonomy_menu_add_form', Array, Object) (Line: 279)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 91)
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)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
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}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
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: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 49)
Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Comment | File | Size | Author |
---|---|---|---|
#11 | config_export.patch | 692 bytes | mojo4444 |
Comments
Comment #2
baldebinos CreditAttribution: baldebinos commentedMy temporary solution
Edit:
<your_site_path>/modules/contrib/taxonomy_menu/src/Entity/TaxonomyMenu.php
At line 36 add a comma to the end of line.
Between line 36 and line 37 add:
Note: Not tested in production.
Comment #3
S_Bhandari CreditAttribution: S_Bhandari at Material for Drupal India Association commentedComment #4
karthik.arumugam CreditAttribution: karthik.arumugam commentedHi,
I have created a patch for the fix. Please review.
Comment #5
S_Bhandari CreditAttribution: S_Bhandari at Material for Drupal India Association commentedPlease don't work on the issue which is already assigned for someone, I am already working on it.
Comment #6
S_Bhandari CreditAttribution: S_Bhandari at Material for Drupal India Association commentedAdded a patch for the same.
Comment #7
S_Bhandari CreditAttribution: S_Bhandari at Material for Drupal India Association commentedComment #8
mojo4444 CreditAttribution: mojo4444 commentedThis needs to be different, we need to export different variables.
Will make the config export/import work and edit of the tax menu.
Attached patch.
Comment #9
mojo4444 CreditAttribution: mojo4444 commentedComment #10
mojo4444 CreditAttribution: mojo4444 commentedComment #11
mojo4444 CreditAttribution: mojo4444 commentedForgot one of the variables, my bad, new patch.
Comment #12
rwanth+1 for RTBC.
The necessity for this change is in this CR: https://www.drupal.org/node/2949023
Comment #14
dstolThanks for your contribution!
Comment #16
DamienMcKenna