No longer works for Commerce Products.

Created on 31 January 2025, 2 months ago

Problem/Motivation

We have been using version 1.7.0 of this module and were able to bulk clone Commerce Products (D9.5.3, Replicate 1.0.0, Commerce 2.33).

We recently updated this in prep for migrating to D10 to 2.0.1 and just noticed that the Bulk Clone VBO action is no longer available in our Commerce Products view. We also changed core to 9.5.11 and Replicate to 1.3.0; but, reverting Replicate back to 1.0.0 does not fix the issue.

Unclear what in this module is entity type specific (the Bulk Clone action is still available on the node Content page), but i'll take a look at the code and see if i can figure out what got lost.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada liquidcms

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

Comments & Activities

  • Issue created by @liquidcms
  • 🇨🇦Canada liquidcms

    Hmm.. so easy to see why this broke. 1.7 had a plugin for nodes and commerce products ONLY. And the file for Products was lost in 2.x branch.

    This raises a bigger question which is this the right architecture for this module? Not very extensible if you need to add a separate action for each entity type. I don't think the Entity Clone module works this way. I think the entity defn simply requires "duplicate" annotation in entity definition. Which a patch is required to add this for Products, but it is there already for many common entities, Perhaps a better approach would be to use Entity Clone a bulk operation.

  • 🇨🇦Canada liquidcms

    I guess there is now a Replicate UI module which i think replaces this module.

Production build 0.71.5 2024