-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5.4] Improve Pre-Update Check for Joomla 6.0.0: fix confusing message + additional notices #46324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
So while without your PR the information if the check result is good or bad was visible by colours green and red and the text, yes is alway good and no always bad. Now with this PR only the color shows if the result is good or bad. In my opinion that's an accessibility flaw. |
|
@brianteeman Maybe it would also help to make the check conditions (title) be questions? E.g. "Is the database supported?" yes/no, "Is the Behavior - Backward Compatibility plugin disabled?" yes/no, and so on, with yes alwaqys good and green, no always red and bad. If so: Would that be a change in the meaning of the language strings so it would fall under our b/c policy, so it needs new keys and deprecate the old ones for removal in 7.0? |
|
@brianteeman Could make sense to provide legends for the tables in addition so you know the title on the left side is the condition, the button on the right side is the result, and if something's wrong the optional text below the title is the instruction to fix it? |
|
See #46326 for an alternative proposal |
|
This was a simple clarification of the confusing information only with minor changes. |
|
Re-open with a better proposal! |
…pre-checking the update to the next major version.
…pre-checking the update to the next major version.
|
@brianteeman you mentionned on Mattermost a valid point:
We can do another PR for this? Something like this, maybe:
|
|
I do not agree with this. It is not an error. The column header is checked so saying it's value is error is wrong |
|
So we have 3 alternative PRs for the same thing, this one here, #46326 by @brianteeman and #46327 by @chmst . |
|
Updated PR Note for @brianteeman : it's possible to integrate your new language strings when the plugin compat for J5 is enabled only (and keep it simple when it's OK)? |
I've tried with existing language strings, but what could be a better wording? "Warning", "Failed", "incorrect"... |
|
How about combining all 3 PRs?
|
|
P.S.: An aspect to be considered is our b/c policy for language strings. We cannot change the meaning in a patch version. @brianteeman As you are the native speaker in our little 3 PR club: Do you see any problems with that in any of the 3 PRs? |
|
@richard67 my pr introduced new strings so there is no BC issue @cyrez the check is yes/no if you say fail that implies the check failed not that the result is no |
@brianteeman Would Christiane's PR mean a meaning change for the title strings? |
Added the deprecated strings in 7.0 ;) |
|
What seems inconsistent to me (at least in the screenshots in the description):
For consistency I would expect the latter to be: "The 'Behaviour - Backward Compatibility 6' Plugin Must be Enabled". |
Is it required if no B/C issue? For example, if you use only Joomla 5.4 with no third-party extension installed, is it needed to have the compat 6 enabled? |
|
Note: i can add those strings for now. IMO, this could be another PR... |
Updated! Is everything OK now? :-) |
I don't see the need for such a change. Not everything which needs the Joomla 6 b/c plugin must be a 3rd party extension, it could also be an override, and all those cannot be checked. So better safe than sorry and force people to enable the J6 b/c plugin before the update.
Seems so. @ChristineWk @dautrich Could you test again with the latest changes? Thanks in advance. |
|
I have tested this item ✅ successfully on d0508b6 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46324. |
|
@richard67 Done |
|
I have tested this item ✅ successfully on d0508b6 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46324. |
|
OT: I always had the GitHub token. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46324. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46324. |
|
✅ Final test before merge with JBT 5.4-dev
|
|
👍 Thank you @cyrez for your contribution. Thank you @brianteeman, @richard67, @chmst and @Webdongle for supporting this PR. Thank you @ChristineWk and @dautrich for testing. |
|
Thank you @ChristineWk and @dautrich for testing. |
* As named as one requirement in Pre-Update Check improvements PR [46324](joomla/joomla-cms#46324) and linked to this place extended one line for 6.x with `parse_ini_string`. * As checked it is already included in 4.4.14 `administrator/components/com_joomlaupdate/src/Model/UpdateModel.php`, also added for 5.x. * Trailing spaces removed.
Update is caused by [joomla-cms/pull/46324](joomla/joomla-cms#46324) which links to `migrations/54-60/compat-plugin`. * Removed four times 'not been released yet' as Joomla 6.0 is released * Changes title from singular to plural, but not the file name, as it used as link in the PR above. * Rewritten the main content (the two b/c plugins) from Joomla 6 view. * Named exactly 'Behaviour - Backward Compatibility 6', as we have also 'Behaviour - Backward Compatibility' plugin. * Moved DEVELOPER NOTE to the end, as it is a secondary information. * Added list of PRs for the 'Behaviour - Backward Compatibility 6'. * Is this list complete? * Is the list useful? * Added a note for NEW INSTALLATION as we saw the question multiple times, even it is not direct related to the migration. * Merged the given infos from the three deleted and to b/c plugin moved functionality into 'Removed and Backward Incompatibility' and linked this page. * Is the merge correct? * Line breaks at 120 chars.
* migrations/54-60/compat-plugin update Update is caused by [joomla-cms/pull/46324](joomla/joomla-cms#46324) which links to `migrations/54-60/compat-plugin`. * Removed four times 'not been released yet' as Joomla 6.0 is released * Changes title from singular to plural, but not the file name, as it used as link in the PR above. * Rewritten the main content (the two b/c plugins) from Joomla 6 view. * Named exactly 'Behaviour - Backward Compatibility 6', as we have also 'Behaviour - Backward Compatibility' plugin. * Moved DEVELOPER NOTE to the end, as it is a secondary information. * Added list of PRs for the 'Behaviour - Backward Compatibility 6'. * Is this list complete? * Is the list useful? * Added a note for NEW INSTALLATION as we saw the question multiple times, even it is not direct related to the migration. * Merged the given infos from the three deleted and to b/c plugin moved functionality into 'Removed and Backward Incompatibility' and linked this page. * Is the merge correct? * Line breaks at 120 chars. * Fixing "during the upgrade process" * Fixed link
joomla/joomla-cms#46337 + joomla/joomla-cms#46324 + joomla/joomla-cms#46264 - (только для en-GB)


Pull Request for Issue reported on Mattermost and forum: confusing message about the compatibility plugin for Joomla 5 before updating to J6.
In addition, it adds a notice message for each requirement that is not met.
Note
PR updated with a new proposal.
Update 2: new language strings (Action required instead of Error + integration of @brianteeman proposal #46326 for unchecked state )
Summary of Changes
Enabled—Disabledinstead ofYes—NoTesting Instructions
Test on a Joomla 5.4 install
Check that the Behaviour - Backward Compatibility is enabled
In Joomla updater options, set 'Update Channel' on 'Next'
Check for Joomla update
Control Pre-Update Check for Joomla 6.0.0 'Require Settings'.
Apply patch
Check whether the pre-update information about the compatibility plugin is clearer.
Actual result BEFORE applying this Pull Request
Confusing text:
Expected result AFTER applying this Pull Request
Clear statement text:
Not OK state:
OK state:
Full list with additional notices
All is NOT OK:
All is OK:
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org: add recover information from https://manual.joomla.org/migrations/44-50/compat-plugin/#why-should-you-try-to-disable-the-plugin to https://manual.joomla.org/migrations/54-60/compat-plugin/
No documentation changes for manual.joomla.org needed