View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17951Bug reportsPluginspublic2026-10-26 10:49
ReporterDenisChenu Assigned To 
PrioritynoneSeveritypartial_block 
Status closedResolutionno change required 
Product Version3.25.20 
Summary17951: Direct request is not default in cron action anymore
Description

When use php application/commands/console.php plugin --target=sendMailCron sendMailCronSimulate=1 some week ago : it work without issue
But not now : seems index is not default anymore

Steps To Reproduce

Steps to reproduce

Download sendMailCron plugin, try to launch with php application/commands/console.php plugin --target=sendMailCron sendMailCronSimulate=1

Expected result

Working

Actual result

Break with
$ php application/commands/console.php plugin --target=sendMailCron sendMailCronSimulate=1
Error: Unknown action: sendMailCronSimulate=1

Usage: application/commands/console.php plugin <action>
Actions:
cron [--interval=]
index --target=value [--function=] [--option=]

It's ok with 4.1.18 and with 3.X but not with 3.28

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)3.28
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Version7.4
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-10-24 19:55

administrator   ~86748

This is not a regression, the console has always worked this way: the first argument without -- is read as the action. Please name the action explicitly:
php application/commands/console.php plugin index --target=sendMailCron sendMailCronSimulate=1
The plugin README already shows it like this.

DenisChenu

DenisChenu

2026-10-26 10:49

developer   ~86794

When use php application/commands/console.php plugin --target=sendMailCron sendMailCronSimulate=1 some week ago : it work without issue

It's a regression (minor issue, documentation fix it)

Issue History

Date Modified Username Field Change
2022-03-14 16:30 DenisChenu New Issue
2022-03-16 17:29 DenisChenu Summary Direct request is not defaultb in cron action anymore => Direct request is not default in cron action anymore
2022-06-01 01:18 gabrieljenik Severity minor => partial_block
2022-06-01 01:18 gabrieljenik Status new => acknowledged
2026-10-24 19:55 c_schmitz Note Added: 86748
2026-10-24 19:55 c_schmitz Bug heat 0 => 2
2026-10-24 19:55 c_schmitz Status acknowledged => closed
2026-10-24 19:55 c_schmitz Resolution open => no change required
2026-10-26 10:49 DenisChenu Note Added: 86794
2026-10-26 10:49 DenisChenu Bug heat 2 => 4