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

Issue fork rng-3135740

Command icon 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

tom.drupal created an issue. See original summary.

norwegian.blue’s picture

StatusFileSize
new7.22 KB

I 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.

s_bhandari’s picture

Hi @nzpling,

Please add this for test and if all the test cases get passed, please change the status to 'Needs Review'.

Thanks.

sorlov’s picture

Issue tags: +Drupal 9 compatibility
andypost’s picture

Please keep scope of the issue to fix the annotation, other issue to clean up remaining deprecations is

andypost’s picture

Status: Active » Needs review
Parent issue: » #3109592: Roadmap for 3.0.0 release
StatusFileSize
new2.79 KB

Module has no automated tests enabled so no reason to add tests

Here's a patch with limited scope defined in issue summary

mandclu’s picture

Status: Needs review » Reviewed & tested by the community

As described in the OP, Drupal 9 encounters a fatal error after installing RNG. The patch in #6 resolved it for me.

chrisla’s picture

Status: Reviewed & tested by the community » Needs work

As per this issue -- https://www.drupal.org/project/rng/issues/3202298 -- the patch is not correct

chrisla’s picture

StatusFileSize
new2.67 KB

Re-rolled patch from #6 with fix from https://www.drupal.org/project/rng/issues/3202298

u_tiwari made their first commit to this issue’s fork.

u_tiwari’s picture

StatusFileSize
new2.69 KB

I found that for `EventTypeRule` entity, `machine_rule` key is missing for `config_export` annotation.
Added it here.

u_tiwari’s picture

StatusFileSize
new2.69 KB

I found that for `EventTypeRule` entity, `machine_rule` key is missing for `config_export` annotation.
Added it here. (fixed a small typo done in #11)

u_tiwari’s picture

StatusFileSize
new2.69 KB

small Update to #12 to fix fatal error

mandclu’s picture

Status: Needs work » Needs review
makesburbulis’s picture

#13 works for me.

  • u_tiwari authored 3262490 on 3.x
    Issue #3135740 by u_tiwari, endless_wander, andypost, norwegian.blue,...
megachriz’s picture

Status: Needs review » Fixed

I cannot fully determine yet if the config_export is correct everywhere, but since it blocks installs and proper test results, I committed #13 anyway.

Status: Fixed » Closed (fixed)

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