Home›Forums›Feature Requests›Volunteer Sign-Up Sheets – Feature Requests›Error when Slot has been taken
Tagged: error, Reserve Slot, Slot Taken
- This topic has 2 replies, 2 voices, and was last updated 7 months ago by Stephen Sherrard.
-
AuthorPosts
-
-
April 15, 2024 at 1:42 PM #44013Richard WendrockParticipant
Good day Stephen,
Thank you for a very good Plugin!. We love it and use it to facilitate the sign up of 144 slots in our 72 hour Prayer Vigils.
PROBLEM:
when multiple people try to reserve the same slot at the same time, an error is displayed when one person reserves a slot and a second person tries to reserve the same slot. They keep trying to reserve the same slot with no luck.
SOLUTION:
When an error occurs, query the slot and when it has already been reserved, display “This Slot has been taken. CLICK HERE to exit and refresh the page.”. Make the URL in the CLICK HERE cause the browser to exit and refresh the page.Thank you again for a great Plugin. We would be happy to donate toward this solution.
-
May 9, 2024 at 10:54 AM #44056Stephen SherrardKeymaster
I will look into this.
However, I find it very unlikely that multiple people are trying to sign up for the same spot at the exact same time.
You may want to investigate any caching plugins you have active on your site, and make sure that caching is DISABLED for the pages with the volunteer sheets. I think there may be a chance that the page is getting cached with the info showing spots still open, even though they have been filled already.
Otherwise, how often does this actually happen? The only way I can see it happening is that a bunch of people somehow have the volunteer page open in a tab for a long time, and walk away or come back to it later and then try to sign up without first reloading/refreshing the page.
I can certainly add another check and change the error message that is displayed. However any link they click, such as any of the “back” links, already refreshes the page. But, if you have caching enabled on that page, the info it shows may not be up to date, so make sure you don’t have any caching plugins set to cache that page.
-
May 18, 2024 at 3:32 PM #44079Stephen SherrardKeymaster
I pushed out a couple of updates, and included a check for this rare situation, along with a more appropriate error message so as to avoid confusion. Also, if they are looking at the task list and someone else signs up and takes the last spot for a task before they click on the signup list, it will now show the new error message (for all spots filled) and not even show the signup form. But, if they do make it to the signup form and someone manages to take the last spot before they submit the signup form, they will get the same all spots filled error message and the form will not show again (they can then click on the link to take them back to the sheet or tasks).
-
-
AuthorPosts
- You must be logged in to reply to this topic.