User tests: Successful: Unsuccessful:
Pull Request resolves # .
Work in progress (WiP): I have to complete the summary of changes and testing instructions.
This pull request (PR) removes the compat6 backwards compatibility (b/c) plugin for Joomla 6 for new installation and updates, makes necessary adjustments of b/c plugin checks for the new major version 7 and finalises the addition of the compat7 b/c plugin for Joomla 7 which was made with PR #47420 but was not complete.
In detail, following changes are made:
installation/sql/<db type>/base.sql).plugins/behaviour/compat6/classes folder and subfolders. These are moved to the new compat7 plugin as that was added with PR #47420 with the corresponding configuration option legacy_classes.libraries/src/Extension/ExtensionHelper.php), and the new compat7 plugin is added.administrator/language/en-GB/plg_behaviour_compat7.ini and administrator/language/en-GB/plg_behaviour_compat7.sys.ini for the new compat7 plugins are added,administrator/components/com_admin/src/Model/SysinfoModel.php) is changed to use the right plugin and not the old compat6. The change is made in a way so that it doesn't need a code change with every new major version, using Version::MAJOR_VERSION, similar to what was done with PRs #47807 and #47814 for the pre-update checks in 6.2-dev and meanwhile been merged up into 7.0-dev.uninstallExtensions method in file administrator/components/com_admin/script.php is changed so that the compat6 plugin is removed when updating from 6.x to 7.0build/deleted_file_check.php the obsolete exclusions from 6.x are removed, and exclusions for the compat6 files are added so that they will not be reported to be added the deleted files list in script.php, which would cause them to be deleted on update before the uninstallExtensions method in file script.php is run.phpstan-baseline.neon file are adapted for the right plugin.ruleset.xml are adapted for the right plugin.tests/System/integration/install/Installation.cy.js) the right plugin is disabled.Code review.
Will be added soon.
Will be added soon.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_admin Language & Strings Repository SQL Installation Postgresql Front End Plugins |
| Labels |
Added:
Language Change
PR-7.0-dev
|
||
| Category | Administration com_admin Language & Strings Repository SQL Installation Postgresql Front End Plugins | ⇒ | Administration com_admin Language & Strings JavaScript Repository SQL Installation Postgresql Libraries Front End Plugins |
| Labels |
Added:
bug
|
||
Would be good to have that ready. Currently it breaks the site when enabled.
@laoneo Am working on it. I might possibly close this PR and make a new one instead for a cleaner commit history.
Question: Would you move the legacy classes from the compat6 plugin to the compat7 plugin like this PR here does? Or would you remove them so we have only the newly legacy class added with PR #47899 (and possibly others newly added in 7.0-dev)?
Ove them here and let's remove in a separate pr then.
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-06-07 13:23:44 |
| Closed_By | ⇒ | richard67 |
Would be good to have that ready. Currently it breaks the site when enabled.