No Code Attached Yet bug
avatar brbrbr
brbrbr
30 May 2024

Steps to reproduce the issue

  • Create a menu item with a single article and make it the default menu (or any other menu item with an id=)
  • Create a Webcron Link
  • Execute the Webcron

Expected result

Execution of task(s) due to execution. From the inline help:

By default, requesting this base link will only run tasks due for execution. To execute a specific task, use the task's ID as a query parameter appended to the URL: BASE_URL&id=<taskId>

(Thus the id retrieved from the input in ScheduleRunner::runWebCron should be zero.)

Actual result

The id in runWebCron is set to the id from the menu item, I think it is parseRawRoute adding the id.

So only the tasks matching that ID is executed, if there is any task with that id.

System information (as much as possible)

Additional comments

The problem is resolved by adding a &id=0 to the Webcron Link. Which is a minor inconvenience, but shouldn't that be the default base url??

avatar brbrbr brbrbr - open - 30 May 2024
avatar joomla-cms-bot joomla-cms-bot - change - 30 May 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 May 2024
avatar brbrbr brbrbr - change - 30 May 2024
The description was changed
avatar brbrbr brbrbr - edited - 30 May 2024
avatar rdeutz rdeutz - change - 1 Jun 2024
Labels Added: bug
avatar rdeutz rdeutz - labeled - 1 Jun 2024
avatar brbrbr
brbrbr - comment - 10 Jul 2024

This issue is resolved with PR #43164

avatar alikon alikon - change - 13 Jul 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-07-13 07:42:47
Closed_By alikon
avatar alikon alikon - close - 13 Jul 2024
avatar alikon
alikon - comment - 13 Jul 2024

so let's close it

Add a Comment

Login with GitHub to post a comment