Skip to content
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

Copier un événement form : prevent creating duplicate events #48

Open
agilare opened this issue Aug 21, 2020 · 0 comments
Open

Copier un événement form : prevent creating duplicate events #48

agilare opened this issue Aug 21, 2020 · 0 comments

Comments

@agilare
Copy link
Owner

agilare commented Aug 21, 2020

Some users copy same events twice or more in the same date (by mistake or to update event information)

After submit, in form validation add a check detecting existing similar event in the date day.
Criterias to detect duplicates :

  • dateEvenement
  • horaire_debut
  • horaire_fin
  • horaire_complement (similar_text)
  • idLieu or nomLieu
  • titre (similar_text)

When a duplicate is detected validation for this copy fails and instead of success message display a suitable error message to user :
{date} : "non collé car événement similaire déjà présent à cette date"

And before the list of success/errors date copied, display a warning :
"Un ou plusieurs événements n'a pu collé vers une date car il y avait déjà un événement similaire (même horaire, lieu, titre)"

@agilare agilare added the bug label Aug 21, 2020
@agilare agilare added this to To do in Latest features and improvements of v3 via automation Aug 21, 2020
@agilare agilare added the medium priority label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

1 participant