Closed (fixed)
Project:
Content Entity Clone
Version:
1.0.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2023 at 00:23 UTC
Updated:
29 Jun 2026 at 08:35 UTC
Jump to comment: Most recent
Comments
Comment #2
jmee commentedI'm having the same issue (Drupal 9.5.9, PHP8.1, content_entity_clone 1.0.2)
After enabling and configuring cloning for a Product bundle, there aren't any changes to the UI (no clone tab while viewing a single product, no clone task for the operations in the drop button while looking at the product overview).
If I manually construct the link, like https://example.com/product/add/default?content_entity_clone=12345, everything works perfectly as expected, so that's great! We're just missing a way for content editors to get there.
Comment #3
jmee commentedAs far as I can tell, this is likely an issue with the way that Commerce builds the route - I notice that there's an attempt to build the link to the entity creation page in content_entity_clone.module, which notes that there is no consistent way that this is done.
In Commerce, I think that there is an 'add-form' link defined in Drupal\commerce_product\Entity (in the product submodule), not sure if there's a straight foward way to account for commerce products here.
Here's my 10 minute workaround - add a link in a block using a view with a contextual filter :
Comment #4
matthieu_collet commentedHI
Is there any news for this issue ? we have the same problem
thank you
Comment #5
c_archer commentedHas any progress been made with this?
Comment #8
guiu.rocafort.ferrerComment #11
orakili commented