vc-module-catalog icon indicating copy to clipboard operation
vc-module-catalog copied to clipboard

Delete action fails with 404 error while deleting 150+ catalog items

Open aartiomov opened this issue 6 years ago • 3 comments

Please provide detailed information about your issue, thank you!

Version info:

  • Browser version: chrome
  • Platform version: 2.13.24
  • Module version: 2.21.7

Expected behavior

While in product list user can scroll as much products as he can then "check all" products and click delete. All loaded checked products should be deleted.

Actual behavior

Delete action fails with 404 error. I assume as far as item ids are passed in the url, the url becomes too long.

image

Steps to reproduce

  1. have 150+ items in category
  2. load them all
  3. check all loaded items
  4. Click delete and confirm "yes"

aartiomov avatar Apr 11 '18 13:04 aartiomov

Because of exceeding allowed length of url/query

asvishnyakov avatar Apr 13 '18 19:04 asvishnyakov

need to replace this bulk action to a method which received criteria instead of array of ids

tatarincev avatar May 08 '18 14:05 tatarincev

On hold because removing links, categories and items realized with three different methods. This is wrong and need to refactoring.

pushnitsa avatar May 15 '18 11:05 pushnitsa