Skip to content

Conversation

@laoneo
Copy link
Member

@laoneo laoneo commented Feb 17, 2025

Summary of Changes

Reverts #42884 and moves the classes to the compat plugin instead, for easier transition when it gets removed. It uses the same logic as #44240 without the option code.

Testing Instructions

  • Enable the compat plugin
  • Add the following code to the file /administrator/components/com_content/tmpl/articles/default.php:
    new \Joomla\CMS\Application\CLI\CliInput();
  • Open the back end articles list with at least one article.

Actual result BEFORE applying this Pull Request

A Class "Joomla\CMS\Application\CLI\CliInput" not found exception is thrown.

Expected result AFTER applying this Pull Request

The articles list is loaded.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org: Change app chapter to be moved Manual#390

  • No documentation changes for manual.joomla.org needed

@laoneo laoneo linked an issue Feb 17, 2025 that may be closed by this pull request
@exlemor
Copy link

exlemor commented Mar 7, 2025

I have tested this item ✅ successfully on 8f8e5b2

I have successfully tested this during Philip's Afternoon PR testing fun session.


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

@web54
Copy link

web54 commented Mar 7, 2025

I have tested this item ✅ successfully on 8f8e5b2

I have tested it succesfully.


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

@richard67
Copy link
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Mar 22, 2025
@Bodge-IT Bodge-IT added this to the Joomla! 6.0.0 milestone Apr 7, 2025
@Bodge-IT Bodge-IT merged commit 72cc57d into joomla:6.0-dev Apr 7, 2025
3 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Apr 7, 2025
@Bodge-IT
Copy link
Contributor

Bodge-IT commented Apr 7, 2025

Thanks @laoneo and also for swift testers.

@laoneo laoneo deleted the compat/app branch April 7, 2025 21:04
HLeithner added a commit to HLeithner/joomla-cms that referenced this pull request Apr 16, 2025
HLeithner added a commit that referenced this pull request May 14, 2025
* Create backward compatibility 6 plugin
* Moved relevant code from old compat plugin and removed it

considered changes from prs:
#44926
#44240
#44638
#44700
#43209
#43958
#42884

* Add new plugin on install and uninstall old plugin
* Remove compat media folder, add compat6 removed.asset.json
* Fix cs exceptions
* Update ExtensionHelper
* Rename Compat.php to Compat6.php
* Disable compat6 plugin for system tests
* Restore class aliases from compat 5 plugin
* Relocate files from #44925

---------

Co-authored-by: Richard Fath <[email protected]>
Co-authored-by: Brian Teeman <[email protected]>
softforge pushed a commit that referenced this pull request May 25, 2025
* Create backward compatibility 6 plugin

* Moved relevant code from old compat plugin and removed it

considered changes from prs:
#44926
#44240
#44638
#44700
#43209
#43958
#42884

* Add new plugin on install and uninstall old plugin

* Remove compat media folder, add compat6 removed.asset.json

* Fix cs exceptions

* Update ExtensionHelper

* Rename Compat.php to Compat6.php

* Disable compat6 plugin for system tests

* Update administrator/language/en-GB/plg_behaviour_compat6.ini

Co-authored-by: Brian Teeman <[email protected]>

* Update plugins/behaviour/compat6/compat6.xml

Co-authored-by: Brian Teeman <[email protected]>

* Update plugins/behaviour/compat6/compat6.xml

Co-authored-by: Brian Teeman <[email protected]>

* Update administrator/language/en-GB/plg_behaviour_compat6.ini

Co-authored-by: Brian Teeman <[email protected]>

* Update administrator/language/en-GB/plg_behaviour_compat6.sys.ini

Co-authored-by: Brian Teeman <[email protected]>

* Update plugins/behaviour/compat6/src/Extension/Compat6.php

* Restore class aliases from compat 5 plugin

* Relocate files from #44925

* Apply language string improvement from review suggestion

Co-authored-by: Brian Teeman <[email protected]>

* Update plugins/behaviour/compat6/src/Extension/Compat6.php

Co-authored-by: Allon Moritz <[email protected]>

* Update plugins/behaviour/compat6/compat6.xml

Co-authored-by: Allon Moritz <[email protected]>

* Update installation/sql/mysql/base.sql

Co-authored-by: Richard Fath <[email protected]>

* Update installation/sql/postgresql/base.sql

Co-authored-by: Richard Fath <[email protected]>

* Fix wrong folder in uninstallation of compat (5) plugin.

---------

Co-authored-by: Richard Fath <[email protected]>
Co-authored-by: Richard Fath <[email protected]>
Co-authored-by: Brian Teeman <[email protected]>
Co-authored-by: Benjamin Trenkle <[email protected]>
Co-authored-by: Allon Moritz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Readd the deprecated app and input classes to the compatibility plugin

6 participants