We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sentry Issue: SITH3-36
UniqueViolation: duplicate key value violates unique constraint "counter_billinginfo_customer_id_key" DETAIL: Key (customer_id)=(25285) already exists. File "django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) IntegrityError: duplicate key value violates unique constraint "counter_billinginfo_customer_id_key" DETAIL: Key (customer_id)=(25285) already exists. (14 additional frame(s) were not displayed) ... File "django/db/backends/utils.py", line 66, in execute return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) File "django/db/backends/utils.py", line 75, in _execute_with_wrappers return executor(sql, params, many, context) File "django/db/backends/utils.py", line 79, in _execute with self.db.wrap_database_errors: File "django/db/utils.py", line 90, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params)
The text was updated successfully, but these errors were encountered:
Après investigation :
L'utilisateur à réussi à trigger deux fois la requête pour enregistrer ses données de paiements, liée à:
Or la template jinja check si les données existes déjà : https://github.com/ae-utbm/sith3/blob/e638bc04ed5fe8a9d609ff78f4a414525631b617/eboutic/templates/eboutic/eboutic_makecommand.jinja#L128-L131
Et le script switch l'url si les données existes déjà : https://github.com/ae-utbm/sith3/blob/e638bc04ed5fe8a9d609ff78f4a414525631b617/eboutic/static/eboutic/js/makecommand.js#L30
Donc c'est très probablement survenu lors de la première saisie de l'utilisateur qui a du appuyer deux fois à la suite sur le bouton sauvegarder
Sorry, something went wrong.
No branches or pull requests
Sentry Issue: SITH3-36
The text was updated successfully, but these errors were encountered: