User tests: Successful: Unsuccessful:
Pull Request for Issue #30736 .
In Joomla 3 and 4, we use version 3.9.1 of the external library paragonie/sodium_compat
.
This library had the mistake of a file having not the right case-sensitive name, which was fixed in August 2017, i.e. long before the version we use now, see change here paragonie/sodium_compat@a998aad#diff-a3e132db53566250cd35112b9e76329f and PR here paragonie/sodium_compat#47, so their version 3.9.1 has the right filename.
But it seems this change has never arrived in our sources, maybe because git clients on Windows were used for the composer update (last one in 2018).
This PR here renames the file so it is identical what can be found in the zip package for the 3.9.1 version of that library which can be found here: https://github.com/paragonie/sodium_compat/releases/tag/v1.9.1.
Issue #30736 is hard to reproduce because it seems to happen only on particular environments. I couldn't reproduce it either.
If you can't reproduce it with the first part of the test, skip the second one. You can't test this PR with a real test in this case. But if you are an experienced maintainer or a release lead, a code review could be sufficient, too ;-)
Hint: It would be sufficient to skip step 1 of the following test and start with step 2 by just installing a new 3.10 nightly. But because the issue has to be fixed in both 3.9.x. and 3.10, the test here proceeds the complete sequence like the later test 2 for testing both fixes, so both tests can be compared.
Result: See section "Actual result BEFORE applying this Pull Request" below.
Result: See section "Expected result AFTER applying this Pull Request" below.
In most cases, the update to 4.0 will succeed. But on some kind of environment you might get what is described in issue #30736 .
No issue #30736 anymore on such environments where it could be reproduced.
None.
Status | New | ⇒ | Pending |
Category | ⇒ | External Library Libraries Composer Change |
Title |
|
Title |
|
I don't think we can just rename the file. Although under normal circumstances this fixes the missing class on case sensitive systems, we probably want to have only the file with correct casing. This would avoid issues when moving between OS.
I don't think we can just rename the file. Although under normal circumstances this fixes the missing class on case sensitive systems, we probably want to have only the file with correct casing. This would avoid issues when moving between OS.
So you want to hold back this fix, which fixes the issue on all unixoid OS, on which by far most of the webservers are running, as soon as the core is updated to a new version which includes this PR, and which does no additional harm for Windows (on which only a small part of webservers are running)?
Or tell me which harm can this PR do to an installation on Windows which would justify to reject it?
this will not work sorry, we (or I) have to fix the upgrade/install function first...
Because we should remove the wrong named file first and add the new then but that's not possible at the moment.
this will not work sorry, we (or I) have to fix the upgrade/install function first...
Because we should remove the wrong named file first and add the new then but that's not possible at the moment.
@HLeithner So what to do with this PR? Close it so it will be forgotten and once you have fixed the update (maybe with 5.0?) nobody will remember all those external library files where we have this problem? How many of these things do we meanwhile have buried in our issue and PR history?
Feel free to close it.
I have done what I could do.
Or set it on draft status, whatever it needs so it’s not forgotten.
I can't set it to draft but would be a good idea
Title |
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-01-05 11:48:46 |
Closed_By | ⇒ | richard67 | |
Labels |
Added:
?
?
|
I have tested this item✅ successfully on 2ab4c02
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30746.