User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This pull request (PR) adds 4 folders to the list of folders not to be checked in the build/deleted_file_check.php
script which is used to check if there are deleted files or folders to be added to the administrator/components/com_admin/script.php
file.
The added folders belong to javascript media files which were removed from the sources but shall not be removed when updating the CMS for b/c reasons - there might be layout overrides still using them which will break when the media files were removed.
The /media/legacy/js
folder was added due to PR #42776 , which has removed some of the javascript files in that folder. There are still files left in that folder in the source code, but for these the same b/c policy will apply when they would be removed, so the complete folder is added. See also my current PR #42935 .
The other folders belong to changing modals to dialogues (PRs #42082 and #42423 ). See my closed PR #42567 for details why these folders need to be added.
The tests require PHP CLI so you can run PHP scripts on a command line (Linux shell or Windows CMD, no need for WSL) and a local Git clone of the 5.1-dev branch so the build
folder is available. They can be executed on a clean branch without the need to run composer install
or npm install
.
The instructions below are made with Linux file paths, i.e. separator /
. When being on Windows, just replace that by a backslash \
.
tmp
folder of your Git clone and the package file names as folder names:php ./build/deleted_file_check.php --from=./tmp/Joomla_5.1.0-alpha2-Alpha-Full_Package --to=./tmp/Joomla_5.1.0-beta1-dev-Development-Full_Package
./build/deleted_files.txt
and ./build/deleted_folders.txt
.File ./build/deleted_files.txt
includes the following files:
'/media/com_cpanel/js/admin-add_module.js',
'/media/com_cpanel/js/admin-add_module.min.js',
'/media/com_cpanel/js/admin-add_module.min.js.gz',
'/media/com_modules/js/admin-module-edit.js',
'/media/com_modules/js/admin-module-edit.min.js',
'/media/com_modules/js/admin-module-edit.min.js.gz',
'/media/legacy/js/treeselectmenu.js'
'/media/legacy/js/treeselectmenu.min.js'
'/media/legacy/js/treeselectmenu.min.js.gz'
'/media/mod_multilangstatus/js/admin-multilangstatus.js',
'/media/mod_multilangstatus/js/admin-multilangstatus.min.js',
'/media/mod_multilangstatus/js/admin-multilangstatus.min.js.gz',
File ./build/deleted_folders.txt
includes the following folders:
'/media/mod_multilangstatus/js',
'/media/mod_multilangstatus',
Files ./build/deleted_files.txt
and ./build/deleted_folders.txt
do NOT include the files and folders mentioned in the previous section "Actual result BEFORE applying this Pull Request".
Please select:
No documentation changes for docs.joomla.org needed
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Repository |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-03-27 18:10:02 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
PR-5.1-dev
|
Thx