The installation on Drupal 9 crashes after including the patched entity.manager and courier dependency
with the following exception:
Uncaught PHP Exception Drupal\\Core\\Config\\Schema\\SchemaIncompleteException: "Entity type 'Drupal\\Core\\Config\\Entity\\ConfigEntityType' is missing 'config_export' definition in its annotation" at /var/www/drupal9/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php line 251
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | config-export-definition-3135740-13.patch | 2.69 KB | u_tiwari |
| #12 | config-export-definition-3135740-12.patch | 2.69 KB | u_tiwari |
| #11 | config-export-definition-3135740-11.patch | 2.69 KB | u_tiwari |
| #9 | 3135740-9.patch | 2.67 KB | chrisla |
| #6 | 3135740-6.patch | 2.79 KB | andypost |
Issue fork rng-3135740
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
norwegian.blue commentedI have managed to get the latest 3.x-dev commit installed in Drupal9 by applying the attached patch.
No functional testing has been performed .
Please review.
Comment #3
s_bhandari commentedHi @nzpling,
Please add this for test and if all the test cases get passed, please change the status to 'Needs Review'.
Thanks.
Comment #4
sorlov commentedComment #5
andypostPlease keep scope of the issue to fix the annotation, other issue to clean up remaining deprecations is
Comment #6
andypostModule has no automated tests enabled so no reason to add tests
Here's a patch with limited scope defined in issue summary
Comment #7
mandclu commentedAs described in the OP, Drupal 9 encounters a fatal error after installing RNG. The patch in #6 resolved it for me.
Comment #8
chrisla commentedAs per this issue -- https://www.drupal.org/project/rng/issues/3202298 -- the patch is not correct
Comment #9
chrisla commentedRe-rolled patch from #6 with fix from https://www.drupal.org/project/rng/issues/3202298
Comment #11
u_tiwari commentedI found that for `EventTypeRule` entity, `machine_rule` key is missing for `config_export` annotation.
Added it here.
Comment #12
u_tiwari commentedI found that for `EventTypeRule` entity, `machine_rule` key is missing for `config_export` annotation.
Added it here. (fixed a small typo done in #11)
Comment #13
u_tiwari commentedsmall Update to #12 to fix fatal error
Comment #14
mandclu commentedComment #15
makesburbulis commented#13 works for me.
Comment #17
megachrizI cannot fully determine yet if the config_export is correct everywhere, but since it blocks installs and proper test results, I committed #13 anyway.