-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
A user can request a single movie multiple times with auto-approve #705
Comments
Issue persists as described on develop-a3fe4e6321c3480ac0463ed26e0d9be25d88352f |
Will take a look. |
Hi @wastingaeons, are you still experiencing this issue? I was investigating this just now but could not repro the problem. |
@TheCatLady I can replicate it consistently on Win10 Chrome & Edge on the latest dev (57c00c1). Strangely I can no longer repro from my phone's chrome. capture.mp4Here's a video of it in action in an incognito Chrome window. |
@wastingaeons Thanks for following up! I think that perhaps it's a browser caching issue, since we hide the request button when there is an existing request. In your video, you can also see it disappear and only reappear when you press "back." That said, we shouldn't actually add a duplicate request if one already exists. I will take a look at this later today 🙂 |
@wastingaeons Hi again, could you see if you're able to repro the issue in Incognito mode? Also, do you have Overseerr behind a reverse proxy? I've been discussing this with the other devs, and we suspect this is a browser caching issue of some sort. |
Yes, the video is from a fresh incognito window. Aha! It is behind a reverse proxy and I am unable to repro from accessing Overseerr directly. Edit: Reverse proxy is nginx with LS.io's Swag. Probably outside the scope of Overseer, but like you mentioned, OS shouldn't allow duplicates =) |
Ah, bingo! Closing this issue now since it is unrelated to Overseerr itself. Thanks again for the quick follow-up responses! |
We actually already added a check to prevent duplicates, but I think that your reverse proxy may be causing issues and preventing the initial request from going through immediately. I am also using SWAG but could not reproduce the problem. I suggest checking your SWAG and Overseerr proxy configurations, and seeking help from the appropriate support channels for SWAG if you still experience issues. |
Describe the bug
A user with auto-approve movie can create duplicate requests. Does not appear to affect auto-approve TV nor requests needing admin approval.
What version of Overseerr are you running?
develop-2bfab5e99c04709a1ed45bf30748e4fb5ac95f72
To Reproduce
Expected behavior
Duplicates should not be allowed.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: