Skip to content

Offline Support : Pages - PageListEventListener uploadStatus not cleared on error #11265

Description

@jd-alexander

Expected behavior

When an update is being made on a post and an error occurs the ProgressState should be updated to reflect this.

Actual behavior

This should be invoked whether an error has took place or not since it will update the status.


At the moment, the invocation only occurs if the event doesn't have an error.

Similar behavior in PostListEventListener

Steps to reproduce the behavior

  1. Update/Upload a post.
  2. Create some form of error by manipulating the environment eg. disabling the internet during an upload.
Tested on Google Pixel 3a, Android 10, WPAndroid #11191

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions