User tests: Successful: Unsuccessful:
Pull Request for Issue #29794 .
Fixes the composer deprecations using the 3.x code from @SharkyKZ here: #30802
Test 1: Update a Joomla! 3.10 installation with the 4.0 installation of this PR (see at the end for download link)
Test 2: Run composer install
for this PR
Test 3: Test unit tests
Result 1: (especially on windows systems) the renamed files from this PR have the incorrect case (or old files are still there)
Result 2: composer does throw deprecation notices
Result 1: (especially on windows systems) the renamed files from this PR have the correct case
Result 2: composer does not throw any deprecation notices
Result 3: unit test are working
Thanks @SharkyKZ for the 3.0 code
Thanks @HLeithner for helping with this PR
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_admin com_installer com_joomlaupdate Libraries Unit Tests |
Labels |
Added:
?
?
?
|
Labels |
Added:
?
Removed: ? |
Labels |
Added:
?
Removed: ? |
Labels |
Added:
?
Removed: ? |
Category | Administration com_admin com_installer com_joomlaupdate Libraries Unit Tests | ⇒ | Administration com_admin com_installer com_joomlaupdate External Library Composer Change Libraries Unit Tests |
Is composer version 1 important or can I test it with composer 2?
If you get errors/deprecations there, too, then yes.
Labels |
Added:
?
?
Removed: ? |
This test is in a different class to the one I modified!?
The current error message expains it better:
1) Joomla\Tests\Unit\Libraries\Cms\Image\ImageTest::testGetFilterInstance
RuntimeException: The Filterinspector image filter is not available.
Since you removed the Instance creating it seems the 2 files are related.
Labels |
Added:
?
Removed: ? |
Labels |
Added:
?
Removed: ? |
Labels |
Added:
?
Removed: ? |
Category | Administration com_admin com_installer com_joomlaupdate Libraries Unit Tests External Library Composer Change | ⇒ | Administration com_admin com_installer com_joomlaupdate Libraries Unit Tests |
Labels |
Added:
?
Removed: ? ? |
Category | Administration com_admin com_installer com_joomlaupdate Libraries Unit Tests | ⇒ | Administration com_admin com_installer com_joomlaupdate Libraries |
Labels |
Removed:
?
|
Category | Administration com_admin com_installer com_joomlaupdate Libraries | ⇒ | Administration com_admin com_joomlaupdate Libraries |
Category | Administration com_admin com_joomlaupdate Libraries | ⇒ | Administration com_admin Libraries |
@bembelimen Could you solve conflicts? Maybe it needs to adapt to the recently merged "dry run" feature.
In addition, it needs to adapt to changes I've made with my PR #32006 , which replaces PR #30802 and contains additional changes on comments and a fix for OSX. If you want I can help with that and make a PR for you after you have done the rest.
@bembelimen I was checking the conflict shown here for the script.php file and have noticed something.
With PR #31943 , some logging and a dry run option have been added to the files and folder deletion.
This PR here now calls at the end of that function the new one for moving files with wrongly cased file names.
It might make sense to refactor this PR a bit to do the same (logging and dry run option) for the files moving function.
The dry run later could be used e.g. in 4.1 to have something like the database schema check also for the "are there files or folders to be deleted or files to be renamed" checks, with corresponding "Fix" buttons maybe, to de-couple that a bit from database schema fixing.
@bembelimen I've allowed myself to fix the conflict.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-01-27 22:56:14 |
Closed_By | ⇒ | wilsonge |
Thanks!
Is composer version 1 important or can I test it with composer 2?