ietf-tools / datatracker

The day-to-day front-end to the IETF database for people who work on IETF standards.
https://datatracker.ietf.org
BSD 3-Clause "New" or "Revised" License
524 stars 313 forks source link

Registration API Bug: switching reg type results in multiple MeetingRegistration records #7608

Open rpcross opened 1 week ago

rpcross commented 1 week ago

Describe the issue

If a registrant switches registration type onsite -> remote, or vice-versa, a new MeetingRegistration record is created, resulting in two records for the person. The question is, how do we differentiate this scenario, switching registrations, from the, albeit rare, situation where someone does actually register for both online and remote.

Code of Conduct

rjsparks commented 1 week ago

the post could show the entire correct state for the Person, then the api handler would know what to do.