8000 [Admin panel] Content duplication on multiple clicks on Save button · Issue #216 · Platformus/Platformus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Admin panel] Content duplication on multiple clicks on Save button #216

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

Open
rexTexTau opened this issue Aug 31, 2020 · 2 comments
Open
Labels

Comments

@rexTexTau
Copy link
rexTexTau commented Aug 31, 2020

Steps to reproduce:

  1. Go to backend, start editing one of existing objects, then click on the Save button multiple times, while page is not switched back to object list view.
  2. See duplicate entries of previously edited object both in the objects list and in the database.

Additional info: if you try to delete one of duplicated objects via backend, all other copies will be deleted too, so contene will be permanently lost.

Suggestion: a kind of critical section combined with timeout policy would be awesome.

@DmitrySikorsky
Copy link
Member

I think we need simply to disable submit buttons while requests.

@rexTexTau
Copy link
Author

Seems like that. Without this, it's very easy to "shoot your own leg". Before submitting this issue here, I've actually lost (while deleting the dup) the page I was working like 10 or 12 hours. I was just crying out loud for a minute or two

I think we need simply to disable submit buttons while requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
0