Sorry for the multi-drawer report.
On a Tiki25 I have a "tracker_item_modify" action (see last point, can be debatted).
When applying manually the action on a wiki page it work just fine.
When I run the command through the scheduler, while verbose and logs says it was done, in reality the action is not applied.
When I use the CLI I have this error:
php console.php list:execute "List executes control page" "Resave evaluations" Undefined property: Search_ResultSet::$errorInQuery on line 313 of /home/happyhome/public_html/lib/wiki-plugins/wikiplugin_list.php Action Resave evaluations executed on page List executes control page. error: Error executing action Resave evaluations on item 1677099144: tracker_item_modify action missing value, calc, add or remove parameter.
After fixing the issue (again see below) the CLI is still reporting an error but the action is completed correctly.
php console.php list:execute "List executes control page" "Resave evaluations" Undefined property: Search_ResultSet::$errorInQuery on line 313 of /home/happyhome/public_html/lib/wiki-plugins/wikiplugin_list.php Action Resave evaluations executed on page List executes control page. <feedback>feedback: Action Resave evaluations executed successfully on 1 item(s). </feedback>
The scheduler report (run now) and logs make the admin believe all went right while the CLI shows errors.
If an action is not completed the logs should show the output (from the console).
The targeted item has been created from list execute with a duplicate action and has 2 item-list.
The item-list field are not populated after the action, and they need to be "manually" edited/save to get the other items values.
To make it automatic, I added a list execute with an empty tracker_item_modify action set only to force a "manual" save of the item.
{step action="tracker_item_modify" field="dailyevaluationDate"}
This work manually but failed when using the CLI
I changed for
{step action="tracker_item_modify" field="dailyevaluationDate" calc="(concat (add dailyevaluationDate 1))"}
This work (it change the date and time, but it is not critical in this case - all stays within the same day)
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |