magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Coupon codes export to Excel XML not working as expected

Open zohmi opened this issue 3 years ago • 9 comments

Preconditions (*)

  1. Magento 2.4.5

Steps to reproduce (*)

  1. Create a salesrule of type "Specific Coupon" and check "Use auto generation": Bildschirmfoto 2022-09-02 um 10 25 52

  2. Hit "Save and Continue Edit"

  3. Head to "Manage Coupon Codes" Tab and generate e.g. 500 Coupons: Bildschirmfoto 2022-09-02 um 10 26 15

  4. Hit generate and wait for completion

  5. Go to generated coupon code list and hit "Mass actions" -> "Select all" Bildschirmfoto 2022-09-02 um 10 30 28

  6. All coupons (500) should now be shown as selected.

  7. Choose "Export to CSV" and hit the "Export" button. Bildschirmfoto 2022-09-02 um 10 31 46

  8. The generated and downloaded file contains all 500 coupons.

  9. Choose "Export to Excel XML" and hit the "Export" button. Bildschirmfoto 2022-09-02 um 10 33 52

  10. The generated and downloaded file only contains as much items, as choosen in the items per page selector. In the above mentioned example that would be 20.

Expected result (*)

  1. The export of Excel XML should contain all selected coupons. In the above mentioned example 500.

Actual result (*)

  1. The generated and downloaded file only contains as much items as selected in the items per page selector instead of the selected items itself.

zohmi avatar Sep 02 '22 08:09 zohmi

Hi @zohmi. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


:warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] avatar Sep 02 '22 08:09 m2-assistant[bot]

Hi @engcom-Dash. 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: :point_down:

    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.
    1. 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.
    1. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

m2-assistant[bot] avatar Sep 02 '22 08:09 m2-assistant[bot]

Hi @zohmi ,

We are trying to reproduce the issue in 2.4.5 magento instance....But we are not able to reproduce the issue. When we trying to generate the coupon code it is not listed out in respective fields....So with coupon codes we are not able to reproduce the bug....

Here i attached the screenshots for your reference: Screenshot from 2022-09-05 22-17-36 Screenshot from 2022-09-05 22-17-02 Screenshot from 2022-09-05 22-16-54

Steps we Followed: 1.Install magento instance 2.Go to admin panel 3.Click the Marketing option 4.Create the Cart price rule 5.Generate Coupon codes 6. Coupon codes is not generated

Let us know if we missing anything!!!

Thanks!!!

engcom-Dash avatar Sep 05 '22 16:09 engcom-Dash

Hi @zohmi ,

We are trying to reproduce the issue in 2.4.5 magento instance....But we are not able to reproduce the issue. When we trying to generate the coupon code it is not listed out in respective fields....So with coupon codes we are not able to reproduce the bug....

Here i attached the screenshots for your reference: Screenshot from 2022-09-05 22-17-36 Screenshot from 2022-09-05 22-17-02 Screenshot from 2022-09-05 22-16-54

Steps we Followed: 1.Install magento instance 2.Go to admin panel 3.Click the Marketing option 4.Create the Cart price rule 5.Generate Coupon codes 6. Coupon codes is not generated

Let us know if we missing anything!!!

Thanks!!!

Hi @engcom-Dash,

you have to wait for the generation of the coupon codes. As the message says, the job has been queued and will be processed asynchronously. It takes a while and then the codes are there.

Thanks

zohmi avatar Sep 06 '22 05:09 zohmi

@magento give me 2.4-develop instance

engcom-Lima avatar Sep 16 '22 12:09 engcom-Lima

Hi @engcom-Lima. Thank you for your request. I'm working on Magento instance for you.

Hi @engcom-Lima, here is your Magento Instance: https://63df51bc498c53b45db90aac329f1678.instances.magento-community.engineering Admin access: https://63df51bc498c53b45db90aac329f1678.instances.magento-community.engineering/admin_ea66 Login: b76e29e1 Password: 4a26307c9d30

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-6688 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Sep 16 '22 12:09 github-jira-sync-bot

:white_check_mark: Confirmed by @engcom-Lima. Thank you for verifying the issue.
Issue Available: @engcom-Lima, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

m2-assistant[bot] avatar Sep 16 '22 12:09 m2-assistant[bot]