No Code Attached Yet
avatar brbrbr
brbrbr
17 Jun 2024

Steps to reproduce the issue

Create a scheduled task with Execution Rule on Manual
execute the command line scheduler:list

Expected result

Table with 'Next run' for above task set to Never

Actual result

'Next run' set to 'DUE!'
PHP Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in libraries/src/Date/Date.php

The deprecated warning also shows in the Tasks view when a task crashed.

System information (as much as possible)

joomla 5.1
php 8.3

Additional comments

As a site note, The Captions 'Test Task' and 'Run Test' in the Tasks view is a kind of misleading.

It suggests a kind of dry run, while the tasks are actually executed. So 'Run Task' and 'Run' would be more appropriate.

avatar brbrbr brbrbr - open - 17 Jun 2024
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Jun 2024
avatar alikon
alikon - comment - 7 Jul 2024

please test #43750 for the cli part

avatar Quy Quy - change - 7 Jul 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-07-07 15:20:11
Closed_By Quy
avatar Quy Quy - close - 7 Jul 2024
avatar Quy
Quy - comment - 7 Jul 2024

As a site note, The Captions 'Test Task' and 'Run Test' in the Tasks view is a kind of misleading.

It suggests a kind of dry run, while the tasks are actually executed. So 'Run Task' and 'Run' would be more appropriate.

PR #36725.

avatar brbrbr
brbrbr - comment - 7 Jul 2024

As a site note, The Captions 'Test Task' and 'Run Test' in the Tasks view is a kind of misleading.
It suggests a kind of dry run, while the tasks are actually executed. So 'Run Task' and 'Run' would be more appropriate.

PR #36725.

That PR seams a bit broken.

Add a Comment

Login with GitHub to post a comment