Skip to content

2.2.2 - Duplicating Bundle Product Removes Bundle Options From Original Product #13126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MattUnity opened this issue Jan 11, 2018 · 21 comments
Closed
Assignees
Labels
Component: Bundle Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@MattUnity
Copy link

MattUnity commented Jan 11, 2018

I can't seem to duplicate bundle products and retain their bundle options on a Vanilla 2.2.2 installation - It moves the bundle options over but doesn't appear to retain them for the original product, leaving it blank and stripping its options.

Preconditions

  1. Magento 2.2.2
  2. PHP 7.0.27

Steps to reproduce

  1. Create a simple product
  2. Create a bundle product, adding the aforementioned simple product as a bundle option
  3. Click Save he bundle product
  4. Click Save and Duplicate the bundle product

Expected result

  1. Both the original and duplicated bundle products should contain the simple product as a bundle option.

Actual result

  1. The duplicated bundle product contains the bundle options, but the original product has bundle options removed.
@magento-engcom-team magento-engcom-team added Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed labels Jan 11, 2018
@magento-engcom-team
Copy link
Contributor

@MattUnity, thank you for your report.
We've created internal ticket(s) MAGETWO-86647 to track progress on the issue.

@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Jan 11, 2018
@nmalevanec nmalevanec self-assigned this Jan 12, 2018
@magento-team
Copy link
Contributor

Hi @MattUnity. Thank you for your report.
The issue has been fixed in magento-engcom/magento2ce#1217 by @nmalevanec in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming patch release.

@magento-team magento-team added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Jan 20, 2018
@densen45
Copy link
Contributor

densen45 commented Mar 5, 2018

Unfortunately, the fix is not included in the 2.2.3 release. However, it is currently included in the 2.2.4-preview branch.

@macrodesignuk
Copy link

This problem still exists in v2.3.0, has this fix been made live?

@getsolved
Copy link

getsolved commented Mar 19, 2019

Problem still exists in 2.3.0
When will it be fixed? Mass creation of products very annoying.
No solution in over a year??

@macrodesignuk
Copy link

macrodesignuk commented Mar 20, 2019

Problem still exists in 2.3.0
When will it be fixed? Mass creation of products very annoying.
No solution in over a year??

They have fixed it, they just haven't released the patch. Its annoying as a lot of the Magento 2 faults I've experienced were fixed 1 year ago, but they haven't officially released them yet.

You can replace the related problem files from here
b57eb03
d8bd657

@Goeny
Copy link

Goeny commented May 26, 2019

Problem still not fixed ?

@hostep
Copy link
Contributor

hostep commented May 26, 2019

Re-opening, since it looks like the fix never was forward ported to the 2.3-develop branch.
If someone wants to take a stab at it, please do so :)

@hostep hostep reopened this May 26, 2019
@ghost ghost unassigned nmalevanec May 26, 2019
@ghost ghost removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels May 26, 2019
@AlexWorking AlexWorking self-assigned this May 27, 2019
@m2-assistant
Copy link

m2-assistant bot commented May 27, 2019

Hi @AlexWorking. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • 6. Add label Issue: Confirmed once verification is complete.

  • 7. Make sure that automatic system confirms that report has been added to the backlog.

@AlexWorking AlexWorking added Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Component: Bundle labels May 27, 2019
@AlexWorking
Copy link

Issue is really reproduced only on 2.3-develop (fixed on 2.2-develop). Steps to Reproduce here have been slightly modified: there has been added an additional step number 3. Without it the issue won't reproduce - if You start to create a new bundle product and instead of Save You click Save and Duplicate everything will work as expected, e.g. two bundle products with the same bundle option will be created.

@AlexWorking AlexWorking added the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label May 27, 2019
@ghost ghost unassigned AlexWorking May 27, 2019
@magento-engcom-team
Copy link
Contributor

✅ Confirmed by @AlexWorking
Thank you for verifying the issue. Based on the provided information internal tickets MAGETWO-99840 were created

Issue Available: @AlexWorking, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@magento-engcom-team magento-engcom-team added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label May 27, 2019
@Goeny
Copy link

Goeny commented Aug 31, 2019

Why is this issue still not resolved?

How can i implement a manual fix in either 2.3.1 or 2.3.2 ?

@macrodesignuk
Copy link

macrodesignuk commented Sep 23, 2019

@magento-engcom-team @magento-team
Why has this fix not been applied to the official Magento release yet? The fix works.

I recently updated to 2.3.2 which caused Magento to revert back to the old broken version and overridden my manual file fix.

@hostep
Copy link
Contributor

hostep commented Sep 23, 2019

@macrodesignuk, or somebody else: can you create a pull request with the suggested fixes, it will be much quicker integrated in Magento that way than endlessly waiting for Magento core devs to finally take a look at this. Thanks! 🙂

@macrodesignuk
Copy link

@macrodesignuk, or somebody else: can you create a pull request with the suggested fixes, it will be much quicker integrated in Magento that way than endlessly waiting for Magento core devs to finally take a look at this. Thanks!

Thanks Pieter, I just tried to fork it and the related file is completely different in the fork copy to that of the official release. It looks like somebody has rewritten the fix, but it is significantly different. Not sure what to do in this case.

hostep pushed a commit to hostep/magento2 that referenced this issue Sep 23, 2019
…ons From Original Product

(cherry picked from commit b57eb03)
hostep pushed a commit to hostep/magento2 that referenced this issue Sep 23, 2019
…ons From Original Product

(cherry picked from commit d8bd657)
@ghost ghost assigned hostep Sep 23, 2019
@hostep
Copy link
Contributor

hostep commented Sep 23, 2019

Hi @macrodesignuk, I just created a PR for this at #24703

It wasn't very difficult, just cherry-picked the two commits mentioned above on the 2.3-develop branch, which applied cleanly, had no conflicts to solve.

@macrodesignuk
Copy link

@hostep Thanks,

The reason I didn't do it was because the version that they give on the released version of Magento is not the same as in that development branch. Therefore its not patching the same file and could cause a problem. Hopefully it all works out though, thank you for your help

@magento-engcom-team
Copy link
Contributor

Hi @MattUnity. Thank you for your report.
The issue has been fixed in #24703 by @hostep in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.4 release.

@YiffyToys
Copy link

We just experienced this in Magento 2.4.7-p1

@codingkoaladev
Copy link
Contributor

It is also in 2.4.7-p3

@Goeny
Copy link

Goeny commented Mar 26, 2025

We experience this in 2.4.7-p4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Bundle Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests