Project

General

Profile

Bug #88044

erreur 500 sur adresse /register/input_code/whatever/ [ValidationError: ['La valeur « update » n’est pas un UUID valide.']

Added by Sentry Io 9 months ago. Updated 9 months ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
-
Start date:
12 March 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/123028/

ValueError: badly formed hexadecimal UUID string
  File "django/db/models/fields/__init__.py", line 2434, in to_python
    return uuid.UUID(**{input_form: value})
  File "uuid.py", line 178, in __init__
    raise ValueError('badly formed hexadecimal UUID string')

ValidationError: ['La valeur «\xa0update\xa0» n’est pas un UUID valide.']
(14 additional frame(s) were not displayed)
...
  File "django/db/models/lookups.py", line 25, in __init__
    self.rhs = self.get_prep_lookup()
  File "django/db/models/lookups.py", line 301, in get_prep_lookup
    return super().get_prep_lookup()
  File "django/db/models/lookups.py", line 77, in get_prep_lookup
    return self.lhs.output_field.get_prep_value(self.rhs)
  File "django/db/models/fields/__init__.py", line 2418, in get_prep_value
    return self.to_python(value)
  File "django/db/models/fields/__init__.py", line 2436, in to_python
    raise exceptions.ValidationError(

Related issues

Related to Publik - Développement #49212: Création de compte avec un numéro de téléphone mobileEn cours01 October 2021

Actions

Associated revisions

Revision cb751d98 (diff)
Added by Paul Marillonnet 9 months ago

urls: use uuid routing parameter for sms code opaque urls (#88044)

History

#1

Updated by Frédéric Péters 9 months ago

  • Project changed from Suivi des traces to Authentic 2
  • Subject changed from erreur sur adresse /register/input_code/whatever/ [ValidationError: ['La valeur « update » n’est pas un UUID valide.'] to erreur 500 sur adresse /register/input_code/whatever/ [ValidationError: ['La valeur « update » n’est pas un UUID valide.']
#2

Updated by Frédéric Péters 9 months ago

également sur /accounts/change-phone/verify/whatever/

#3

Updated by Frédéric Péters 9 months ago

#4

Updated by Paul Marillonnet 9 months ago

  • Status changed from Nouveau to En cours
  • Assignee set to Paul Marillonnet
#5

Updated by Robot Gitea 9 months ago

Paul Marillonnet (pmarillonnet) a ouvert une pull request sur Gitea concernant cette demande :

#6

Updated by Robot Gitea 9 months ago

  • Status changed from En cours to Solution proposée
#7

Updated by Robot Gitea 9 months ago

  • Status changed from Solution proposée to En cours

Paul Marillonnet (pmarillonnet) a commencé à travailler sur une pull request sur Gitea concernant cette demande :

#8

Updated by Robot Gitea 9 months ago

  • Status changed from En cours to Solution proposée
#9

Updated by Robot Gitea 9 months ago

  • Status changed from Solution proposée to Solution validée

Thomas NOËL (tnoel) a approuvé une pull request sur Gitea concernant cette demande :

#10

Updated by Robot Gitea 9 months ago

  • Status changed from Solution validée to Résolu (à déployer)

Paul Marillonnet (pmarillonnet) a mergé une pull request sur Gitea concernant cette demande :

#11

Updated by Transition automatique 9 months ago

  • Status changed from Résolu (à déployer) to Solution déployée
#12

Updated by Transition automatique 6 months ago

Automatic expiration

Also available in: Atom PDF