Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

Unable to edit registration if event does not allow registrant to create more than one registration #170

Open
quimic opened this issue Jun 26, 2018 · 9 comments

Comments

@quimic
Copy link

quimic commented Jun 26, 2018

If an event does not allow a registrant to register more than once, no one can edit an existing registration for that event (neither the registrant, nor an administrator).
You get the "Userxxx cannot register for this event." error message.

@rfsbsb
Copy link

rfsbsb commented Nov 27, 2018

I can confirm this is an issue.

@e-Mole
Copy link

e-Mole commented Feb 13, 2019

I also encountered this problem. Do you have a solution?

@quimic
Copy link
Author

quimic commented Feb 13, 2019 via email

@rfsbsb
Copy link

rfsbsb commented Feb 13, 2019

Maybe this can help: #183

@e-Mole
Copy link

e-Mole commented Feb 14, 2019

Thanks! But #183 has not resolved the issue with editing :-(.

@rdworianyn
Copy link

We solved this issue by enabling "allow duplicate registrants" on all events, and then created a custom validation function that checks to see if they are already booked and returns a form error in that case. It's kind of a work around, since it eliminates the usefulness of "allow duplicates", but we never allow more than 1 registration by a single user anyway. Instead, we created a field called, "How many guests will be joining you" which increases/decreases the count of the Maximum Allowed for a particular event.

@e-Mole
Copy link

e-Mole commented Mar 9, 2019

@rdworianyn Thanks for hint. How did you solve the "validation function"?

@nplowman
Copy link

Here's a fix I'm submitting for consideration:
#188

The validation function includes a check against a whitelist of existing users, that is supposed to prevent this issue. However, the whitelist was never getting populated for the edit form.

@e-Mole
Copy link

e-Mole commented Mar 15, 2019

@nplowman Thanks a lot! Works perfectly :-)

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

No branches or pull requests

5 participants