Placing the same custom block, more than once, with a period in the title, results in an Error.

Created on 11 March 2016, almost 9 years ago
Updated 3 March 2023, almost 2 years ago

Process:

1) Create custom block type.

2) Create a new block, of that new block type just created. [Give the block a title that contains a '.'] Example title: "This.is custom"

3) Go to block layout, and place that new block, in a region.

4) Place that same block in an additional region.. The error will occur at this point.

Drupal Will Log this error:

Drupal\Core\Entity\EntityStorageException: 'block' entity with ID 'moregreatpeople...' already exists. in Drupal\Core\Entity\EntityStorageBase->doPreSave() (line 430 of /Users/micahjoyner/www/cmm.dev/core/lib/Drupal/Core/Entity/EntityStorageBase.php).

So, it appears that it can't seem to create a proper unique ID, for any additionally place block, if the title contains a period in it.

πŸ› Bug report
Status

Closed: outdated

Version

10.1 ✨

Component
BlockΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¨πŸ‡¦Canada mcvjoyner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024