Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When I try to add a key configuration override (in my case, for Google Maps API), the following error appears:
Drupal\Core\Config\Schema\SchemaIncompleteException: Entity type 'Drupal\key\Entity\KeyConfigOverride' 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).
Comment | File | Size | Author |
---|---|---|---|
#4 | 3212374-4.patch | 723 bytes | rlhawk |
#3 | Screen Shot 2021-05-05 at 7.53.45 AM.png | 67.14 KB | bixgomez |
Comments
Comment #2
bixgomez CreditAttribution: bixgomez commentedComment #3
bixgomez CreditAttribution: bixgomez commentedComment #4
rlhawkThanks for the report. Can you give this patch a try?
Comment #5
tynor CreditAttribution: tynor commentedI just ran into this issue on a site, and the patch worked for me.
I'll hold off on marking as RTBC in case bixgomez would like to weigh in first.
Comment #6
rlhawk@bixgomez - Any feedback about the patch?
Comment #7
mstrelan CreditAttribution: mstrelan at PreviousNext for Service NSW commentedThanks for the patch. I've triggered testing against Drupal 9.2 as well. Note that without this patch the tests fail against Drupal 9. Please consider configuring automatic testing for Drupal 9.
Comment #8
jerrac CreditAttribution: jerrac commentedThe patch in #4 worked for me.
Comment #10
rlhawkCommitted. Thanks, All.