shweta-kumaran / CastNXTfall24

0 stars 1 forks source link

When a producer manually adds a form submission for talent, event does not show up as submitted for talent #19

Open JSalazar026 opened 2 weeks ago

JSalazar026 commented 2 weeks ago

A producer has the ability to manually input a form submission for a talent. In this image, we add a manual submission for the user Gegee with test01@email.com and save the data.

Screenshot 2024-10-09 at 11 20 23 AM

At this point, this should count as a talent's submission, and if the talent were to log into CastNXT, then they should see that they submitted a form to the corresponding event. However, for talent Gegee, with the same email as was manually inputted, the form still shows up in the events page (where all new events they have not submitted to show up)

Screenshot 2024-10-09 at 11 19 31 AM

The issue with this is that this allows for Gegee to submit "again". On the producer side, they will now see two submissions from the same talent (same email), with different information. In this case, the form that Gegee submitted should overwrite the manually inputted information by the producer of the event.

Screenshot 2024-10-09 at 11 21 52 AM Screenshot 2024-10-09 at 11 22 49 AM

This also happens when admins manually add a form submission for talents who do not yet have an account on CastNXT. In this case, new talents should already see these forms as submitted, even if their account is new (and their name may be different than inputted). The information that should be used to match form submissions to users should be the email address given on the form, if it exists.