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

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

    lukas.fischer created an issue. See original summary.

    viren18febs’s picture

    Assigned: Unassigned » viren18febs

    Checking the issue!

    viren18febs’s picture

    Assigned: viren18febs » Unassigned
    Status: Active » Needs review
    StatusFileSize
    new547 bytes

    Hi @lukas.fischer

    I have fixed the issue & added patch file, please review.

    scott_euser’s picture

    Status: Needs review » Fixed

    Thank you!

    Status: Fixed » Closed (fixed)

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