Skip to content

Exporting Low Stock Report to csv or xml file does not work #7075

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
cdbessig opened this issue Oct 18, 2016 · 11 comments
Closed

Exporting Low Stock Report to csv or xml file does not work #7075

cdbessig opened this issue Oct 18, 2016 · 11 comments
Labels
bug report Fixed in 2.2.x The issue has been fixed in 2.2 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.1.x The issue has been reproduced on latest 2.1 release 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

Comments

@cdbessig
Copy link

cdbessig commented Oct 18, 2016

Preconditions

  1. Magento CE 2.0.6, 2.0.9, 2.0.10 all tested
  2. Mysql 5.6 / php 5.5.24

Steps to reproduce

  1. Log in to admin panel, click on reports, low stock report.
  2. On top right of the page, click on Export next to the Export to: dropdown. Have CSV or Excel XML selected.
  3. An error message appears:
csv: Fatal error: Call to a member function getCsvFile() on a non-object in /home/user/sites/magento2010.com/vendor/magento/module-reports/Controller/Adminhtml/Report/Product/ExportLowstockCsv.php on line 39

excel xml: 
Fatal error: Call to a member function getExcelFile() on a non-object in /home/user/sites/magento2010.com/vendor/magento/module-reports/Controller/Adminhtml/Report/Product/ExportLowstockExcel.php on line 39

Expected result

  1. A file download should occur containing the products from the grid.

Actual result

  1. Error messages above.
@dthampy dthampy self-assigned this Oct 18, 2016
@dthampy dthampy added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Oct 19, 2016
@dthampy dthampy removed their assignment Oct 19, 2016
@dthampy
Copy link
Contributor

dthampy commented Oct 19, 2016

Thank you for the bug report. Internal jira ticket MAGETWO-59848 has been created.

@okorshenko okorshenko self-assigned this Apr 18, 2017
@magento-engcom-team magento-engcom-team added 2.0.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed labels Sep 11, 2017
@magento-engcom-team magento-engcom-team added Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed 2.1.x Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release 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 Sep 28, 2017
@magento-engcom-team
Copy link
Contributor

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

@michielgerritsen
Copy link
Member

I can reproduce this problem on a 2.1.9 installation, but in 2.2.0 it works as expected. You get an .csv of .xml file.

@okorshenko
Copy link
Contributor

Hi @michielgerritsen thank you for research. We will double check this

@osrecio
Copy link
Member

osrecio commented Oct 21, 2017

@okorshenko I can't repdroduce this error with branches: develop, 2.1-develop, 2.2-develop, 2.3-develop.
But is true that I can reproduce with M2Commerce 2.19

@keyurshah070
Copy link
Contributor

@okorshenko I can not reproduce in fresh 2.2. kindly confirm

@rajpal-majoka
Copy link

Any update on this?

@okorshenko
Copy link
Contributor

Thank you everyone for research

@okorshenko okorshenko added Fixed in 2.2.x The issue has been fixed in 2.2 release line and removed SQUASHTOBERFEST labels Nov 1, 2017
@ramsampathi
Copy link

We have faced the same issue in Magento 2.3.4 .
How can we fix this issue?

@thomas-harding
Copy link

Same here on Magento 2.3.4. Would be useful to know if any fix is available.

@mtoothaker-links
Copy link

I am also seeing it on an upgraded Magento 2.3.5 site

magento-engcom-team pushed a commit that referenced this issue Sep 23, 2021
[Trigger] AC-103: Update Third Party library: spectrum/spectrum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Fixed in 2.2.x The issue has been fixed in 2.2 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.1.x The issue has been reproduced on latest 2.1 release 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
Projects
None yet
Development

No branches or pull requests