Project

General

Profile

Bug #59093

DataError: value too long for type character varying(256)

Added by Sentry Io about 1 year ago. Updated about 1 year ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
29 November 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/gplexpert/issues/53986/

Role.DoesNotExist: Role matching query does not exist.
  File "django/db/models/query.py", line 554, in update_or_create
    obj = self.select_for_update().get(**kwargs)
  File "django/db/models/query.py", line 408, in get
    self.model._meta.object_name

DataError: value too long for type character varying(256)

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)

DataError: value too long for type character varying(256)

(27 additional frame(s) were not displayed)
...
  File "django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "django/db/backends/utils.py", line 76, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "django/db/utils.py", line 89, 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)

Related issues

Related to Authentic 2 - Development #59122: Utiliser un TextField pour Role.name Fermé30 November 2021

Actions

History

#1

Updated by Lauréline Guérin about 1 year ago

  • Project changed from Suivi des traces to Authentic 2
#2

Updated by Valentin Deniaud about 1 year ago

Also available in: Atom PDF