Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge DB now: "You have changed the data deletion settings. Please save them before starting a purge." #15898

Open
dev-101 opened this issue May 2, 2020 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@dev-101
Copy link

dev-101 commented May 2, 2020

Hi,

I have discovered a strange bug recently. When I visit general settings page, under "Schedule old data deletion" section, Purge DB now doesn't seem to work. The message states that I first must "save changes", although I haven't made any changes at all. I have to click on "Save" button, before it starts working.

Does anyone else can reproduce this?
Thanks

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label May 3, 2020
@tsteur tsteur added this to the Backlog (Help wanted) milestone May 3, 2020
@tsteur
Copy link
Member

tsteur commented May 3, 2020

Cheers @dev-101 I can reproduce the bug. Basically, when the model is loaded, it sets report-deletion-model.js ::updateSettings() to set the initial settings causing the model to be marked as modified when it shouldn't be.

The workaround as you describe should be to click on "save" and then "purge now".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants