WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

Unable to update plugin

Open reginabally opened this issue 4 years ago • 6 comments
trafficstars

Expected behavior

I would expect to be able to update the plugins through the app.

Actual behavior

When I tapped the "Update" link, I saw the "Successfully updated [Plugin name]" notice at the bottom of the screen but the "Update" link still appears on the screen.

Steps to reproduce the behavior

  1. Go to My Site > Plugins > Manage
  2. Select a plugin that needs to be updated
  3. Tap the "Update" link
  4. See that the "Successfully updated [Plugin name]" appears at the bottom of the screen but the "Update" link remains on the screen
  5. Check WP Admin > Plugins > Installed Plugins and notice the plugin still needs to be updated

Video recording

https://user-images.githubusercontent.com/40906847/121629109-1d9e5200-caad-11eb-93e1-a8550fbb3316.mp4

Tested on OPPO Reno 4, Android 11, WPAndroid 17.5-rc-1

reginabally avatar Jun 11 '21 04:06 reginabally

After investigation it seems that the https://public-api.wordpress.com/rest/v1.2/sites/siteId/plugins/pluginName/update/ endpoint doesn't work properly and doesn't update the plugin version.

planarvoid avatar Jun 11 '21 08:06 planarvoid

I notice we don't currently have a tag for plugins - @planarvoid do you know of any projects this might fit in? I'm not sure how best to triage this one.

thehenrybyrd avatar Jun 11 '21 09:06 thehenrybyrd

Also occurring in iOS. Further discussion for reference: p9dueE-340

thehenrybyrd avatar Jun 15 '21 16:06 thehenrybyrd

The bug was on the backend and I think it's fixed already. It would be great if someone could confirm this 👍

planarvoid avatar Jul 01 '21 15:07 planarvoid

@planarvoid I just tested this on WPiOS 17.6 and WPAndroid 17.7-rc-1, the same issue happened when I tried to update plugins through the apps.

reginabally avatar Jul 02 '21 05:07 reginabally

As reported https://github.com/wordpress-mobile/WordPress-Android/pull/20470#pullrequestreview-1938053764 the issue still persist on the latest version (24.4) of the Android app

antonis avatar Mar 15 '24 07:03 antonis