No Code Attached Yet bug
avatar uGE70
uGE70
25 Mar 2024

Steps to reproduce the issue

  1. Check that your website is using a Joomla article as the home page in your main menu (with an article id).
  2. Copy the basic Scheduler Web Cron link and paste it in any browser: https://www.domain.com/component/ajax/?plugin=RunSchedulerWebcron&group=system&format=json&hash=hashstring
  3. In file /plugins/system/schedulerunner/src/Extension/ScheduleRunner.php, var_dump the result of line 205:
    $id = (int) $this->getApplication()->getInput()->getInt('id', 0);
    var_dump($id);
    exit;

Expected result

I should get id=0 and the task scheduling should work properly without any additional id parameter.

Actual result

I get the current homepage article id. Adding &id=0 in the web cron link is solving the issue.

System information (as much as possible)

Joomla 5.0.3 / 4.4.3, PHP 8.2 or less. Infomaniak shared hosting (task planner).

Additional comments

Thanks for your much appreciated work

avatar uGE70 uGE70 - open - 25 Mar 2024
avatar uGE70 uGE70 - change - 25 Mar 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 Mar 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Mar 2024
avatar uGE70 uGE70 - change - 26 Mar 2024
The description was changed
avatar uGE70 uGE70 - edited - 26 Mar 2024
avatar Hackwar Hackwar - change - 26 Mar 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 26 Mar 2024
avatar Hackwar
Hackwar - comment - 26 Mar 2024

Can you take a look at #42989 and see if this fixes your issue?

avatar Quy Quy - change - 26 Mar 2024
Labels Added: Information Required
avatar Quy Quy - labeled - 26 Mar 2024
avatar uGE70
uGE70 - comment - 26 Mar 2024

Hello,
Thanks for your message.

avatar Hackwar Hackwar - change - 26 Mar 2024
Labels Removed: Information Required
avatar Hackwar Hackwar - unlabeled - 26 Mar 2024
avatar Hackwar
Hackwar - comment - 26 Mar 2024

Thank you. I'll have a look what can be done here.

avatar Hackwar
Hackwar - comment - 26 Mar 2024

Can you check #43164 if that helps you?

avatar uGE70
uGE70 - comment - 26 Mar 2024

Hello,
Thanks a lot for your work. I've applied the patch and now it's working as expected.

avatar Hackwar Hackwar - change - 26 Mar 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-03-26 21:52:16
Closed_By Hackwar
avatar Hackwar Hackwar - close - 26 Mar 2024
avatar Hackwar
Hackwar - comment - 26 Mar 2024

Then please comment accordingly in the PR. I'm closing this issue now, since we have that PR.

Add a Comment

Login with GitHub to post a comment