bug PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
28 Aug 2025

Pull Request for Issue #45996 and #45946.

Summary of Changes

Adds a magic getter from the framework package to the WebApplication class. Like that will the deprecation appear in IDE's better.

Testing Instructions

Put the following code in any default.php:
Factory::getApplication()->input;

Actual result BEFORE applying this Pull Request

Cannot access protected property Joomla\CMS\Application\AdministratorApplication::$input

Expected result AFTER applying this Pull Request

Page loads.

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: joomla/Manual#508

  • No documentation changes for manual.joomla.org needed

avatar laoneo laoneo - open - 28 Aug 2025
avatar laoneo laoneo - change - 28 Aug 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Aug 2025
Category Libraries
avatar laoneo laoneo - change - 28 Aug 2025
The description was changed
avatar laoneo laoneo - edited - 28 Aug 2025
avatar richard67 richard67 - change - 28 Aug 2025
Title
Add a magic getter for the app input property
[6.0] Add a magic getter for the app input property
avatar richard67 richard67 - edited - 28 Aug 2025
avatar softforge softforge - change - 28 Aug 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-08-28 09:40:52
Closed_By softforge
Labels Added: bug PR-6.0-dev
avatar softforge softforge - close - 28 Aug 2025
avatar softforge softforge - merge - 28 Aug 2025
avatar softforge
softforge - comment - 28 Aug 2025

Thank you for your quick work on this @richard67 and @laoneo

avatar brianteeman
brianteeman - comment - 28 Aug 2025

I thought one of the aims was to remove magic?

avatar laoneo
laoneo - comment - 28 Aug 2025

It is, but not breaking extension, templates and overrides weights higher.

avatar brianteeman
brianteeman - comment - 28 Aug 2025

could it not have been done in the b/c plugin?

avatar laoneo laoneo - change - 28 Aug 2025
The description was changed
avatar laoneo laoneo - edited - 28 Aug 2025
avatar laoneo laoneo - edited - 28 Aug 2025
avatar laoneo laoneo - change - 28 Aug 2025
The description was changed
avatar laoneo laoneo - change - 28 Aug 2025
The description was changed
avatar laoneo laoneo - edited - 28 Aug 2025
avatar laoneo laoneo - change - 28 Aug 2025
The description was changed
avatar laoneo laoneo - edited - 28 Aug 2025
avatar laoneo
laoneo - comment - 28 Aug 2025

Nope, as it is only a function which must be in the class itself.

avatar laoneo laoneo - change - 29 Aug 2025
The description was changed
avatar laoneo laoneo - edited - 29 Aug 2025

Add a Comment

Login with GitHub to post a comment