Project

General

Profile

Bug #92181

qr-code/events, certificate passé qui n'est pas un uuid (ValidationError: ['La valeur « 134 » n’est pas un UUID valide.'])

Added by Sentry Io 26 days ago. Updated 23 days ago.

Status:
Solution proposée
Priority:
Normal
Target version:
-
Start date:
21 June 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

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

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 «\xa0134\xa0» n’est pas un UUID valide.']
(11 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(

Error occurred while processing request

GET:
certificate = '134'

History

#1

Updated by Frédéric Péters 26 days ago

  • Project changed from Suivi des traces to Passerelle
#2

Updated by Frédéric Péters 26 days ago

  • Subject changed from qr-code/events, certificate passé qui n'est pas un uuid (ValidationError: ['La valeur «\xa0134\xa0» n’est pas un UUID valide.']) to qr-code/events, certificate passé qui n'est pas un uuid (ValidationError: ['La valeur « 134 » n’est pas un UUID valide.'])
#3

Updated by Corentin Séchet 23 days ago

  • Assignee set to Corentin Séchet
#4

Updated by Robot Gitea 23 days ago

  • Status changed from Nouveau to Solution proposée

Corentin Sechet (csechet) a ouvert une pull request sur Gitea concernant cette demande :

Also available in: Atom PDF