Changes between Initial Version and Version 1 of Ticket #61381, comment 5
- Timestamp:
- 08/23/2024 09:27:51 PM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #61381, comment 5
initial v1 1 @siliconforks, the proposed fix is nearly there! The updates continued after an error, but the admin notice for the failure isn't rendering as expected (Figure 1). 1 **UPDATED** 2 2 3 If you're able to, I would recommend creating a PR in [https://github.com/WordPress/wordpress-develop wordpress-develop] to continue this work, as it will make collaboration and code review a bit easier going forward. (But to be clear, it's fine to submit .diffs if this is what works best for you.) 3 @siliconforks, thanks for the fix! Apologies for the updated report -- I should have tested the patch in `trunk` first. 4 4 5 5 == Test Report 6 Patch tested: https://core.trac.wordpress.org/attachment/ticket/61381/61381.diff 6 Patch tested: https://core.trac.wordpress.org/attachment/ticket/61381/61381.diff 👍🏻 7 8 > Edit: I tested the changes to `updates.js` by applying the patch in `wordpress-develop:trunk`, running `npm run build:dev`, and clearing the browser cache. 7 9 8 10 === Environment … … 13 15 - PHP: 8.2.22 14 16 - SQLite: 3.43.2 15 - WordPress: 6.517 - WordPress: `trunk` 16 18 - Theme: twentytwentythree v1.2 17 19 - Active Plugins: 18 - plugin-update-failure (test mu plugin to trigger Akismet update failure )20 - plugin-update-failure (test mu plugin to trigger Akismet update failure, see comment:4) 19 21 - db.php (drop-in for SQLite) 20 22 21 23 === Actual Results 22 24 - ✅ During bulk update, after a plugin update failure, subsequent updates proceed successfully. 23 - ❌ After a failed bulk update, the update failures admin notice does not display as expected. The notice is styled as "success" and does not contain the list of failed updates. (See comment:4 for expected example.)25 - ✅ After a failed bulk update, the update failures admin notice displays the failing plugin(s). 24 26 25 === Supplemental Artifacts 26 ''Figure 1: Bulk update failure result with patch applied.'' 27 [[Image(https://cldup.com/hZI6QNxYvh-3000x3000.png)]] 27 === Additional Notes 28 In testing the patch against WP 6.5, the updates continued after an error, but the admin notice for the failure didn't render as expected [https://cldup.com/hZI6QNxYvh-3000x3000.png screenshot]. There are likely other UI/JS changes since 6.5 that could account for this, and I intend on checking against the latest 6.6 as well.