RTC Composer Dependency Changed PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
4 Sep 2026
  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

This pull request (PR) updates the composer dependency "joomla/registry" from version 3.0.2 to version 3.0.3.

Changes see https://github.com/joomla-framework/registry/releases/tag/3.0.3 .

For 6.x see the equivalent PR #48339 for 6.1-dev.

Similar to that PR, this PR here also changes the version requirement in the composer.json file to require at least the new version.

Testing Instructions

(Partly taken from PR #48339 )

  1. Add a new site menu item of Article > Category List
image
  1. Set Filter Field to Month
image
  1. Visit menu item in frontend

Actual result BEFORE applying this Pull Request

PHP Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in [ROOT]\vendor\joomla\registry\src\Registry.php on line 256

Expected result AFTER applying this Pull Request

Select field is available
image

Link to documentations

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

avatar richard67 richard67 - open - 4 Sep 2026
avatar richard67 richard67 - change - 4 Sep 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Sep 2026
Category ⇒ External Library Composer Change
avatar richard67 richard67 - change - 4 Sep 2026
Labels Added: Composer Dependency Changed PR-5.4-dev
avatar richard67 richard67 - change - 4 Sep 2026
The description was changed
avatar richard67 richard67 - edited - 4 Sep 2026
avatar brianteeman
brianteeman - comment - 4 Sep 2026

why did you update the composer.json the current setting of ~3.0 Include everything greater than a particular version in the same minor range so just a composer update and the updated comnposer.lock would have sufficed

avatar brianteeman
brianteeman - comment - 4 Sep 2026

it works correctly i just dont see the need for the change to composer.json

avatar richard67
richard67 - comment - 4 Sep 2026

why did you update the composer.json the current setting of ~3.0 Include everything greater than a particular version in the same minor range so just a composer update and the updated comnposer.lock would have sufficed

@brianteeman I know. I just wanted to be consistent with what we do e.g. after security updates for the framework and to how PR #48339 proposes it for 6.1-dev. It is not necessary, but it does no harm.

avatar brianteeman
brianteeman - comment - 4 Sep 2026

ok - you're the maintainer

avatar brianteeman brianteeman - test_item - 4 Sep 2026 - Tested successfully
avatar brianteeman
brianteeman - comment - 4 Sep 2026

I have tested this item ✅ successfully on db184d5


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

avatar brianteeman
brianteeman - comment - 4 Sep 2026

I have tested this item ✅ successfully on db184d5


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

avatar heelc29 heelc29 - test_item - 4 Sep 2026 - Tested successfully
avatar heelc29
heelc29 - comment - 4 Sep 2026

I have tested this item ✅ successfully on db184d5

The issue #46354 is not relevant for 5.4-dev.
This PR fixes a PHP deprecation message when using the month filter field:
PHP Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in [ROOT]\vendor\joomla\registry\src\Registry.php on line 256


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

avatar heelc29
heelc29 - comment - 4 Sep 2026

I have tested this item ✅ successfully on db184d5

The issue #46354 is not relevant for 5.4-dev.
This PR fixes a PHP deprecation message when using the month filter field:
PHP Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in [ROOT]\vendor\joomla\registry\src\Registry.php on line 256


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

avatar richard67 richard67 - change - 4 Sep 2026
The description was changed
avatar richard67 richard67 - edited - 4 Sep 2026
avatar richard67 richard67 - change - 4 Sep 2026
The description was changed
avatar richard67 richard67 - edited - 4 Sep 2026
avatar richard67
richard67 - comment - 4 Sep 2026

The issue #46354 is not relevant for 5.4-dev. This PR fixes a PHP deprecation message when using the month filter field: PHP Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in [ROOT]\vendor\joomla\registry\src\Registry.php on line 256

@heelc29 Thanks. I've updated the PR description and testing instructions.

avatar richard67 richard67 - change - 4 Sep 2026
Status Pending ⇒ Ready to Commit
avatar richard67
richard67 - comment - 4 Sep 2026

RTC


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

avatar richard67
richard67 - comment - 4 Sep 2026

RTC


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

avatar richard67 richard67 - change - 4 Sep 2026
Title
…
[5.4] Composer update joomla/registry from 3.0.2 to 3.0.3 to fix issue #46354
[5.4] Composer update joomla/registry from 3.0.2 to 3.0.3
avatar richard67 richard67 - edited - 4 Sep 2026
avatar muhme muhme - change - 4 Sep 2026
Labels Added: RTC
avatar muhme
muhme - comment - 4 Sep 2026

✅ Final test before merge with JBT using PHP 8.5

  • Source code change is only "joomla/registry": "^3.0.3" in composer.json and composer.lock contains only related modifications
  • Seen deprecation ArrayIterator ... Registry.php on line 256 with each site visit of category list
  • Applied PR with Patch Tester and running composer i
    • No deprecation anymore
avatar muhme muhme - close - 4 Sep 2026
avatar muhme muhme - merge - 4 Sep 2026
avatar muhme muhme - change - 4 Sep 2026
Status Ready to Commit ⇒ Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-09-04 15:21:50
Closed_By ⇒ muhme
avatar muhme
muhme - comment - 4 Sep 2026

Thank you very much @richard67 for your contribution. Thanks to @heelc29 and @brianteeman for support and testing.

Add a Comment

Login with GitHub to post a comment