I create a new type on /admin/structure/site_setting_entity_type/add
I get this error:
When creating a new
Drupal\Core\Config\Entity\Exception\ConfigEntityIdLengthException: Attempt to create a bundle with an ID longer than 32 characters: header_cta_button_nodehiveapp_com(). in Drupal\Core\Entity\EntityBase->preSave() (line 383 of /var/www/web/core/lib/Drupal/Core/Entity/EntityBase.php).
Solution
Add a validation for the key. Key should not be longer than 32
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | error-because-ID-is-too-long-issue-fixes-3390587-#comment-15250490.patch | 547 bytes | viren18febs |
Issue fork site_settings-3390587
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
viren18febs commentedChecking the issue!
Comment #3
viren18febs commentedHi @lukas.fischer
I have fixed the issue & added patch file, please review.
Comment #5
scott_euser commentedThank you!