Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #25 from flagbit/akeneo-3-2
Browse files Browse the repository at this point in the history
Compatibility to Akeneo 3.2
  • Loading branch information
hackwell authored Mar 3, 2020
2 parents 7249c76 + edad20b commit 7c7029f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/ProductModelController.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public function cloneAction(Request $request) : JsonResponse

// clone product using Akeneo normalizer and updater for reusing code
$normalizedProduct = $this->normalizeProduct($productModel);
unset($normalizedProduct['family']);
$this->productModelUpdater->update($cloneProductModel, $normalizedProduct);
$this->productModelUpdater->update($cloneProductModel, $content);
$cloneProductModel->setCode($content['code']);
Expand Down

0 comments on commit 7c7029f

Please sign in to comment.