User tests: Successful: Unsuccessful:
So far the autoupdate server did return a server error if a user tried to register a site in non-internet environment, i.e. on local host.
A recent update on the server now returns a dedicated status code for these scenarios, allowing the proper handling of this scenario.
Futher tweaks:
Please note: a JS file has been changed in this PR, so it's necessary to rebuild the NPM dependencies, see https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment#Node.2Fnpm_Scripts
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_joomlaupdate Language & Strings JavaScript Repository NPM Change Libraries Front End Plugins |
Labels |
Added:
Language Change
NPM Resource Changed
PR-5.4-dev
|
I have tested this item ✅ successfully on 6102af6
1. Tested with JBT on current 5.4-dev branch on local site
Don't use XHTML markup. There is no need for a line break to have a closure
I've restored @muhme 's test result in the issue tracker as the commits which invalidated the test count were only a fix for the casing of a method parameter name, which I've just reviewed with success, and changes on a language string suggested by him, and finally a change of the markup from <ul>
to just text with <br>
(with @brianteeman suggestion applied), which I've also just reviewed.
Pre-test question, my quickicon before patch states "Unknown Health status ...", nothing about broken link. Are the testing instructions correct on that step?
@Bodge-IT sounds like the NPM build is missing, I've added a note in the the instructions
@SniperSister His question was related to the situation WITHOUT the PR, BEFORE patch. It should not need NPM for that.
The description in section "Actual result BEFORE applying this Pull Request" says "Quickicon showing a red error message about a broken connection; remains the same on refresh", but @Bodge-IT got "Unknown Health status ...".
TL;DR: I've updated the test instructions with the correct expected pre-patch message.
Long story: the currently shipped version of the JS does know how to handle the validation error code that's being returned by the updated server version and therefore shows the message about an unknown status.
I have tested this item ✅ successfully on e0b257d
All expected outcomes verified.
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-06-03 08:08:02 |
Closed_By | ⇒ | richard67 | |
Labels |
Added:
RTC
|
Thanks all (author, reviewers and testers).
Please change inaccessible to not accessible