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).
Drupal\Core\Config\Entity\ConfigEntityStorage->mapToStorageRecord(Object) (Line: 283)
Drupal\Core\Config\Entity\ConfigEntityStorage->doSave('case_study', Object) (Line: 452)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 263)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 339)
Drupal\Core\Entity\EntityBase->save() (Line: 591)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 297)
Drupal\menu_position\Form\MenuPositionRuleForm->save(Array, Object)
call_user_func_array(Array, Array) (Line: 113)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 592)
Drupal\Core\Form\FormBuilder->processForm('menu_position_rule_form', Array, Object) (Line: 320)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->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: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
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: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 705)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Looks like it's not currently covered by Upgrade Status: https://www.drupal.org/project/upgrade_status/issues/3131063
And may be related to this change record: https://www.drupal.org/node/2481909
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drupal9_schemaexception-3146668-2.patch | 682 bytes | jastraat |
Comments
Comment #2
jastraat commentedThis patch addresses the schema error, but there may deeper issue with this module's Drupal 9 compatibility because even with this patch, the rules do not save correctly.
Comment #3
timme77 commented#works for me.
Comment #4
proweb.ua commented#2 works
Comment #5
bohus ulrychYes, patch #2 works - tested with 9.0.7
Comment #6
rajab natshahThank you, Jess.
The patch #2 is working
Comment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshahComment #10
rajab natshahComment #11
douggreen commentedyes, RTBC, please commit this :)
Comment #12
rferguson commented+1 ^
Comment #13
marc.groth commentedAmazing! Thanks everyone for the fix. I can confirm that this indeed works on the latest version. Simply apply the patch, clear the cache and you're able to add a new menu position rule again. Fantastic! It would be awesome to get this into the main release ASAP :)
Comment #14
dalemoore commentedJust wanted to add to the pile that this fixed the issue for me on 9.1.3. Rules are saving and no errors I can see.
Comment #15
vlad.dancerI confirm too that this patch fixes an error on drupal 9.2.4.
Thanks @jastraat, +1 LGTM!
Comment #16
z3cka commentedConfirming that patch fixes this error in drupal 9.2.6 as well :-).
Comment #17
amanire commentedAnother confirmation here on 9.2.9. Criminy, why hasn't this been merged and released? It looks like this module has been abandoned.
Comment #18
cedeweyI agree amanire, this is concerning. I've created a separate issue to determine the best path forward to improving maintenance of the project. I'll reach out to the current maintainers to see if any of them have capacity to give the project more attention and if not, help recruit new maintainers.
#3260627: Improve maintenance of the project
Comment #20
lbainbridge commentedThanks everyone for this one and apologies on the extremely delayed response but this is now on the main branch. I will do my best to go through the open issues today and address a few of them. Shout out to cedewey for extremely polite wake up call, I agree we may need some new maintainers, I will do my best to coordinate with the other maintainers here and chart a path forward.
Comment #21
cedeweyThanks Luke! Much appreciated.