RTC bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Denitz
Denitz
10 Jul 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

We can see DivisionByZeroError error under certain conditions, when the list.limit state is 0.

Testing Instructions

Ensure that Display Select is enabled in Tags component options.

image

Open /index.php?option=com_tags&view=tags&limit=dummy&start=10000000000000

Actual result BEFORE applying this Pull Request

See "Division by zero" error

Expected result AFTER applying this Pull Request

No errors.

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 Denitz Denitz - open - 10 Jul 2026
avatar Denitz Denitz - change - 10 Jul 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jul 2026
Category ⇒ Libraries
avatar Denitz Denitz - change - 10 Jul 2026
Title
…
Prevent DivisionByZeroError in ListModel when list.start limit is 0
Prevent DivisionByZeroError in ListModel when list.limit is 0
avatar Denitz Denitz - edited - 10 Jul 2026
avatar richard67 richard67 - change - 10 Jul 2026
Title
…
Prevent DivisionByZeroError in ListModel when list.limit is 0
[5.4] Prevent DivisionByZeroError in ListModel when list.limit is 0
avatar richard67 richard67 - edited - 10 Jul 2026
avatar Denitz Denitz - change - 10 Jul 2026
Labels Added: bug PR-5.4-dev
avatar QuyTon QuyTon - test_item - 14 Jul 2026 - Tested successfully
avatar QuyTon
QuyTon - comment - 14 Jul 2026

I have tested this item ✅ successfully on cbd7c78


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

avatar QuyTon
QuyTon - comment - 14 Jul 2026

I have tested this item ✅ successfully on cbd7c78


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

avatar alikon alikon - test_item - 14 Jul 2026 - Tested successfully
avatar alikon
alikon - comment - 14 Jul 2026

I have tested this item ✅ successfully on cbd7c78


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

avatar alikon
alikon - comment - 14 Jul 2026

I have tested this item ✅ successfully on cbd7c78


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

avatar alikon alikon - change - 14 Jul 2026
Status Pending ⇒ Ready to Commit
avatar alikon
alikon - comment - 14 Jul 2026

RTC


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

avatar alikon
alikon - comment - 14 Jul 2026

RTC


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

avatar muhme muhme - change - 14 Jul 2026
Labels Added: RTC
avatar muhme
muhme - comment - 14 Jul 2026

✅ Final test before merge with JBT

  • Before PR seen the 'Division by zero' frontpage exception
  • Applied PR with Patch Tester
  • No error anymore, info 'There are no tags to display.' is shown
  • Installed sample blog data and tag listing is still working with:
    • Given URL
    • Site module 'Tags - Popular'
avatar muhme muhme - close - 14 Jul 2026
avatar muhme muhme - merge - 14 Jul 2026
avatar muhme muhme - change - 14 Jul 2026
Status Ready to Commit ⇒ Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-07-14 09:08:07
Closed_By ⇒ muhme
avatar muhme
muhme - comment - 14 Jul 2026

Thank you very much @Denitz for your contribution. Thanks to @QuyTon and @richard67 for supporting this PR. Thanks to @QuyTon and @alikon for testing.

Add a Comment

Login with GitHub to post a comment