Active
Project:
Entity Clone
Version:
2.2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2026 at 10:19 UTC
Updated:
10 Jun 2026 at 10:19 UTC
Jump to comment: Most recent
I installed Drupal CMS (without Canvas) and using this module I cloned the Utility page content type to Service content type and while waiting to see a success confirmation message I instead got this error on the page instead,
The website encountered an unexpected error. Try again later.
Drupal\Core\Entity\EntityStorageException: 'entity_form_display' entity with ID 'node.service.default' already exists. in Drupal\Core\Entity\EntityStorageBase->doPreSave() (line 558 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Drupal\Core\Entity\EntityStorageBase->save() (Line: 239)
Drupal\Core\Config\Entity\ConfigEntityStorage->save() (Line: 370)
Drupal\Core\Entity\EntityBase->save() (Line: 635)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 81)
Drupal\entity_clone\EntityClone\Config\ConfigEntityCloneBase->cloneEntity() (Line: 163)
Drupal\entity_clone\EntityClone\Config\ConfigWithFieldEntityClone->cloneDisplays() (Line: 87)
Drupal\entity_clone\EntityClone\Config\ConfigWithFieldEntityClone->cloneEntity() (Line: 396)
Drupal\entity_clone\Form\EntityCloneForm->submitForm() (Line: 108)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 45)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 615)
Drupal\Core\Form\FormBuilder->processForm() (Line: 145)
Drupal\autosave_form\Form\AutosaveFormBuilder->processForm() (Line: 347)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 98)
Drupal\autosave_form\Form\AutosaveFormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 634)
Drupal\Core\Render\Renderer::{closure:Drupal\Core\Render\Renderer::executeInRenderContext():634}()
Fiber->resume() (Line: 649)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 118)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 92)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 54)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 745)
Drupal\Core\DrupalKernel->handle() (Line: 19)Meanwhile when I checked, Utility page was successfully cloned to Service.
Install Drupal CMS while removing all configuration to install Canvas and site templates.
Install this module and clone the Utility page content type.
The clone completed successfully so this not an issue with the clone operation itself but with the post-save attempt.
Comments