Closed sergei-maertens closed 1 week ago
Setting the number of days to 0
is done in the "Data removal" tab, right? When I set the value 0, I get an error message saying that the number of days should be equal or greater than 1:
So setting the number of days to 0
shouldn't happen?
(Edit, in the global config the value 0
also isn't allowed..)
Discussed with Sergei, we are gonna change the minimum value to 0
The minimum value for the submission removal is changed to 0
.
The celery beat submission removal schedule is currently set to once a day (at 1 AM). @joeribekker @sergei-maertens do we want to set this to something like once a hour? Or even sooner, like once a minute?
Once a day is fine
Product versie / Product version
2.8.1
Customer reference
Taiga DH #715
Omschrijf het probleem / Describe the bug
There are global and form-specific configuration options to prune submissions (in various states, like completed/suspended/ongoing/...) after a certain number of days. The amount of days can be configured in the admin interface. A celery task (via beat) picks up the submissions that need to be pruned.
Setting the number of days to '0' seems to cause these submissions not to be pruned, while the expectation is that these would be removed on the first next run of the cleanup job.
Stappen om te reproduceren / Steps to reproduce
(unconfirmed)
Verwacht gedrag / Expected behavior
Submission is deleted after next scheduled cleanup job run.
Screen resolution
None
Device
None
OS
None
Browser
No response