You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you select all invoices of one order in the order detail page of the admin and apply a mass action to it, the mass action is applied on all invoices in the whole system. This is because the context of the order_id gets lost in the mass action.
Hi @ajpevers ,
Fix has been delivered to develop branch 23d12c9.
You can upgrade your code from develop branch or wait until next release.
Issue is closed as resolved.
Feel free to reopen this issue is you have encountered the same problem on upgraded version.
When you select all invoices of one order in the order detail page of the admin and apply a mass action to it, the mass action is applied on all invoices in the whole system. This is because the context of the order_id gets lost in the mass action.
vendor/magento/module-sales/view/adminhtml/ui_component/sales_order_view_invoice_grid.xml:
This part of the code would filter only invoices of this order_id, but the order_id param is absent in the mass action POST/GET:
Request: http://magento2.dev/sitemanager/sales/invoice/pdfinvoices/key/57643a9c1297d88c9998a26eb46af31d1f36540631c3f81a4a231564f70ecfff/
Request payload:
To replicate this, open an order, go to invoices, select all and choose the Export PDF mass action:
invoice2016-03-24_09-32-57.pdf
The text was updated successfully, but these errors were encountered: