Skip to content

Allow unarchiving of more than 50 messages at a time #664

@sergioc

Description

@sergioc

Selecting more than 50 messages to unarchive caused all of them to be removed from the UI (as expected) but only the first 50 of them were actually unarchived without any warning or error. Refreshing the page would show the updated list again (without the 50 unarchived messages)

This was because of incorrect paging where the same 50 archived messages were retrieved over and over again whenever the user scrolled to the bottom.

Details of change

Fixed the paging so that we retrieve the correct results as users scroll

Original bug report

Feedback from @parto:

If you select more than 50 messages to unarchive, all of them are removed from the UI but only 50 of them are actually unarchived without any warning or error. If you refresh the page you still get failed archived messages in the list.


Technical information if reporting a bug:

  • ServicePulse version: v1.14.4
  • ServiceControl version: v3.0.1 / 3d24e07
  • Browser version: Chrome Version 69.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions