Hi!

Tried to add map bundle and map layer entities and got following errors:

Drupal\Core\Config\Schema\SchemaIncompleteException: Entity type 'Drupal\leaflet_layers\Entity\MapLayer' is missing 'config_export' definition in its annotation in Drupal\Core\Config\Entity\ConfigEntityBase->toArray() (line 251 of /app/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).

Drupal\Core\Config\Schema\SchemaIncompleteException: Entity type 'Drupal\leaflet_layers\Entity\MapBundle' is missing 'config_export' definition in its annotation in Drupal\Core\Config\Entity\ConfigEntityBase->toArray() (line 251 of /app/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).

Related CR: https://www.drupal.org/node/2949023.

CommentFileSizeAuthor
#7 interdiff_4-7.txt605 bytestormi
#7 3174667-7.patch998 bytestormi
#4 3174667-4.patch966 bytestormi

Comments

tormi created an issue. See original summary.

tormi’s picture

Title: Missing 'config_export' definition annotations (MapLayer, MapBundle) » Missing 'config_export' definition annotations for MapLayer, MapBundle
tormi’s picture

Issue summary: View changes
tormi’s picture

Status: Active » Needs review
StatusFileSize
new966 bytes

Initial patch.

tormi’s picture

Priority: Normal » Major

This was a blocker for me with D9, rising priority.

andeersg’s picture

Assigned: Unassigned » andeersg
tormi’s picture

StatusFileSize
new998 bytes
new605 bytes

Added missing uuid to the config_export.

tormi’s picture

tormi’s picture

Looks like uuid is not needed after all, 3174667-4.patch is the way to go.

  • andeersg committed 274ee67 on 1.0.x
    Issue #3174667 by tormi: Add config_export to entity anotations
    
andeersg’s picture

Status: Needs review » Fixed

Hi, I looked at an applied your patch. It should now be in development branch. Thank you :)

Status: Fixed » Closed (fixed)

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