You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating quiz using moosh activity-config-set activity 41880 quiz timeclose 1700175481, the timeclose does indeed get updated.
However, in the dashboard, in the timeline widget, there is still the old date. Clearing all cache (both with moosh cache-clear or with Moodle UI) doesn't help.
Only after editing the quiz (without changing anyting) and saving it, the date in the dashboard timeline gets updated.
Expected behaviour
After running moosh activity-config-set activity 41880 quiz timeclose 1700175481 the dashboard timeline should show the new date.
Steps to reproduce
Run moosh activity-config-set activity <id> quiz timeclose <new_timestamp>
Check timeline in the dashboard
FWIW, the same behavior is seen when updating assignments (fields 'duedate and cutoffdate).
The text was updated successfully, but these errors were encountered:
I found out that the timeline uses events from the Moodle event table.
When I update the timestart and timesort fields in the events table for the corresponding data set, the timeline displays the correct date.
Is it possible to update the event table when running activity-config-set?
Actual behaviour
After updating quiz using
moosh activity-config-set activity 41880 quiz timeclose 1700175481
, the timeclose does indeed get updated.However, in the dashboard, in the timeline widget, there is still the old date. Clearing all cache (both with
moosh cache-clear
or with Moodle UI) doesn't help.Only after editing the quiz (without changing anyting) and saving it, the date in the dashboard timeline gets updated.
Expected behaviour
After running
moosh activity-config-set activity 41880 quiz timeclose 1700175481
the dashboard timeline should show the new date.Steps to reproduce
moosh activity-config-set activity <id> quiz timeclose <new_timestamp>
FWIW, the same behavior is seen when updating assignments (fields
'duedate
andcutoffdate
).The text was updated successfully, but these errors were encountered: