- Issue created by @bcobin
- Status changed to Closed: works as designed
over 1 year ago 6:57pm 22 June 2023
I create a block that I want to use only on affiliate theme. On instanciating the block on the affiliate theme, the page crashes and I get the following:
Drupal\Core\Config\ConfigDuplicateUUIDException: Attempt to save a configuration entity '[block_name]' with UUID '132a50a7-7fa7-44ef-9abd-ce8e678e9a36' when this entity already exists with UUID 'c84874ac-59bb-4322-b581-44e1a0054128' in Drupal\Core\Config\Entity\ConfigEntityBase->preSave() (line 313 of /[site]/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).
I've tried deleting and recreating the block, originating from either the base domain or affiliate domain; the result is the same.
So creating theme-specific blocks seems not to be possible at this time. Marking this as major. Any ideas?
UPDATE: Cross-posted on Domain Theme Switch:
https://www.drupal.org/project/domain_theme_switch/issues/3368382 π Major block placement issues Closed: works as designed
UPDATE: It looks like changes have to be made from the master domain. To clarify: if you're making changes from the sub.main.domain.com page, they're not saved. Changes done from main.domain.com seem to take. Sorry for the false alarm.
Closed: works as designed
2.0
- Domain Content