Skip to content

Errors when deleting many items at once #380

Description

@rhit-steineig

Bug Description
Whenever many items are deleted at once, multiple warnings are printed to the console:
Error deleting item: TypeError: NetworkError when attempting to fetch resource.
And sometimes not all items are successfully deleted

Steps To Reproduce

  • open the website and have the console open
  • create about 10 items (use 'duplicate' button to do this faster)
  • select an item with the checkbox to the left of it
  • click 'select all'
  • click 'delete selected'
  • click the confirmation that says 'are you sure you want to delete these items?'
  • notice that many errors are printed to the console and (sometimes) not all items are deleted

Expected Behavior
all items deleted, no console errors

Actual Behavior
some items failed to delete, many console errors

If the bug occurs on desktop, please complete the following information:
windows firefox

Additional Information
It looks like the page refreshes itself so that the deleted items no longer appear, and my best guess is that the problem is caused by this refresh happening before all items have finished being deleted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions