RTC bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
18 Oct 2025

Pull Request for Issue #46308 .

Summary of Changes

Fix data type for AutoupdateRegisterState must be of type int, string given
This happens only on updated sites, because the param entry for update_status is not present in database and so the default parameter of ->get() is used.

Now the same integer default value is used like here (Unsubscribed):

$registrationState = AutoupdateRegisterState::tryFrom($params->get('autoupdate_status', 0));

enum AutoupdateRegisterState: int
{
case Unsubscribe = -1;
case Unsubscribed = 0;
case Subscribe = 1;
case Subscribed = 2;
}

Testing Instructions

  • Update Joomla form 5.3.x to 5.4.x
  • Run test for Update Notification task

Actual result BEFORE applying this Pull Request

Scheduled task fails
image

PHP error message in server response
image

Task is locked
image

Expected result AFTER applying this Pull Request

Scheduled task should work
image

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar heelc29 heelc29 - open - 18 Oct 2025
avatar heelc29 heelc29 - change - 18 Oct 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Oct 2025
Category Front End Plugins
avatar heelc29 heelc29 - change - 18 Oct 2025
The description was changed
avatar heelc29 heelc29 - edited - 18 Oct 2025
avatar richard67 richard67 - test_item - 18 Oct 2025 - Tested successfully
avatar richard67
richard67 - comment - 18 Oct 2025

I have tested this item ✅ successfully on f5aa259


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

avatar alikon alikon - test_item - 18 Oct 2025 - Tested successfully
avatar alikon
alikon - comment - 18 Oct 2025

I have tested this item ✅ successfully on f5aa259


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

avatar alikon alikon - change - 18 Oct 2025
Status Pending Ready to Commit
avatar alikon
alikon - comment - 18 Oct 2025

RTC


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

avatar richard67 richard67 - change - 18 Oct 2025
Labels Added: RTC bug PR-5.4-dev
avatar muhme
muhme - comment - 19 Oct 2025

✅ Final test before merge with JBT recreate 5.3.3 (as for 5.3.4 composer i failed)

  • Manual updated by upload with nightly 5.4-dev, Scheduled Task 'Update Notification' fails with 'No content was returned.'
  • Second test with PRs update package and there are no more problems running the Scheduled Task 'Update Notification'
avatar muhme muhme - change - 19 Oct 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-10-19 05:16:22
Closed_By muhme
avatar muhme muhme - close - 19 Oct 2025
avatar muhme muhme - merge - 19 Oct 2025
avatar muhme
muhme - comment - 19 Oct 2025

Thank you @heelc29 for your contribution. Thank you @richard67 and @alikon for testing.

Add a Comment

Login with GitHub to post a comment