? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
26 Nov 2020

This PR does two things

The first is simply to put the list of plugins to be installed back into alphabetical order. This makes it easier to maintain and find things in the database

The second is to set the plugin order

In general it probably doesn't matter at all what order the plugins are in but if you look at the ordering dropdown it looks a mess as many of the plugins have the same order number. Some of the oldest plugins have an ordering value but most just have a 0.

This PR adds a value starting at 1 for each plugin grouped by type

This is only for new installs
This is only for mysql (if approved I will update postgresql as well)

Example Before

image

Example After

image

avatar brianteeman brianteeman - open - 26 Nov 2020
avatar brianteeman brianteeman - change - 26 Nov 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Nov 2020
Category SQL Installation
avatar brianteeman brianteeman - change - 26 Nov 2020
Labels Added: ?
avatar brianteeman
brianteeman - comment - 26 Nov 2020

Can someone restart drone please

avatar HLeithner
HLeithner - comment - 26 Nov 2020

Restarting drone doesn't help. RIPS: Failure: Number of issues exceeds sum threshold (3/0) @SniperSister @zero-24 can you have a look at RIPS thanks

avatar zero-24
zero-24 - comment - 27 Nov 2020

Has this PR been updated to the latest 4.0-dev? Just restarting does not help with rips as it tests the same codebase.

avatar brianteeman
brianteeman - comment - 27 Nov 2020

It was the latest at the time it was submitted. I will update it again

984fe0e 27 Nov 2020 avatar brianteeman oops
avatar shindebalu shindebalu - test_item - 5 Dec 2020 - Tested successfully
avatar shindebalu
shindebalu - comment - 5 Dec 2020

I have tested this item successfully on 984fe0e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31489.

avatar snehal0904 snehal0904 - test_item - 5 Dec 2020 - Tested successfully
avatar snehal0904
snehal0904 - comment - 5 Dec 2020

I have tested this item successfully on 984fe0e

Tested successfully.

Thank you for the fix


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31489.

avatar richard67
richard67 - comment - 5 Dec 2020

This is only for mysql (if approved I will update postgresql as well)

Waiting with RTC since postgresql files are missing.

avatar brianteeman
brianteeman - comment - 5 Dec 2020

@richard67 as stated in the first post I am waiting to hear if its approved before spending the time to do the postgres version

avatar joomla-cms-bot joomla-cms-bot - change - 5 Dec 2020
Category SQL Installation SQL Installation Postgresql
avatar brianteeman
brianteeman - comment - 5 Dec 2020

@richard67 updated with postgres

avatar richard67
richard67 - comment - 6 Dec 2020

We have 2 good tests with MySQL (or MariaDB), and I've reviewed the PR and can confirm that it does what it claims to do and that it's the same for MySQL and PostgreSQL beside the necessary difference in names quoting.

avatar richard67 richard67 - alter_testresult - 6 Dec 2020 - shindebalu: Tested successfully
avatar richard67 richard67 - alter_testresult - 6 Dec 2020 - snehal0904: Tested successfully
avatar richard67 richard67 - change - 6 Dec 2020
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 6 Dec 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31489.

avatar brianteeman
brianteeman - comment - 16 Dec 2020

Any reason why this RTC pr has not been merged?

avatar HLeithner
HLeithner - comment - 16 Dec 2020

I'm not so sure that the order has no impact, I know that the languagefilter plugins could produce troubles if it's not the loaded before some other system plugins but can only name my own plugin.

avatar brianteeman
brianteeman - comment - 16 Dec 2020

Only one core type of plugins are impacted by the order. The installation plugins and that is why they are not ordered alphabetically in this PR.

There is an impact of the order with 3pd plugins. Some of them absolutely do need to be positioned before or after other plugins. This PR actually helps that as can be seen in the screenshots.

Also as soon as you move any plugin (before this PR) they are re-ordered anyway - proving that there is no impact

avatar infograf768
infograf768 - comment - 16 Dec 2020

The alphaorder set here works for en-GB, not for other languages.
I get for French (some are en-GB below as they do not exist in 3.9.23 French pack)

Before patch:
Screen Shot 2020-12-16 at 10 13 46

after patch:
Screen Shot 2020-12-16 at 10 26 59

avatar brianteeman
brianteeman - comment - 16 Dec 2020

The point of the PR is not the order but the fact that they all have a unique number.

avatar wilsonge wilsonge - change - 17 Dec 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-12-17 16:09:09
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 17 Dec 2020
avatar wilsonge wilsonge - merge - 17 Dec 2020
avatar wilsonge
wilsonge - comment - 17 Dec 2020

Consistent ordering seems like a good idea to me. Thanks!

avatar brianteeman
brianteeman - comment - 17 Dec 2020

thx

Add a Comment

Login with GitHub to post a comment