Projet

Général

Profil

Bug #81073

Crash si on vide le champ "Mapping des attributs (déprécié)" dans l'IHM d'authentique

Ajouté par Sentry Io il y a 8 mois. Mis à jour il y a 8 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
11 septembre 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

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

NotNullViolation: null value in column "attribute_mapping" of relation "authentic2_auth_saml_samlauthenticator" violates not-null constraint
DETAIL:  Failing row contains (3, https://login.microsoftonline.com/5df27e88-439d-4990-b528-a94c52..., 3600, 10, <?xml version="1.0" encoding="utf-8"?><EntityDescriptor ID="_81d..., t, t, , saml, {attributes[name_id_content]}@{realm}, , t, f, f, , t, , 120, , null, {}).

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

IntegrityError: null value in column "attribute_mapping" of relation "authentic2_auth_saml_samlauthenticator" violates not-null constraint
DETAIL:  Failing row contains (3, https://login.microsoftonline.com/5df27e88-439d-4990-b528-a94c52..., 3600, 10, <?xml version="1.0" encoding="utf-8"?><EntityDescriptor ID="_81d..., t, t, , saml, {attributes[name_id_content]}@{realm}, , t, f, f, , t, , 120, , null, {}).

(17 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 84, in _execute
    return self.cursor.execute(sql, params)
  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)

Demandes liées

Duplique Authentic 2 - Bug #81011: crash sur édition authentication SAML : IntegrityError: null value in column "attribute_mapping" of relation "authentic2_auth_saml_samlauthenticator" violates not-null contstraintFermé08 septembre 2023

Actions

Historique

#1

Mis à jour par Nicolas Roche il y a 8 mois

  • Projet changé de Suivi des traces à Authentic 2

Crash si on vide le champ "Mapping des attributs (déprécié)" dans l'IHM d'authentique,
tout en bas de l'onglet "Avancé" des moyens d'authentification SAML,
par exemple ici :
https://connexion-quimper.test.entrouvert.org/manage/authenticators/3/edit/#open:avance

#2

Mis à jour par Frédéric Péters il y a 8 mois

  • Statut changé de Nouveau à Fermé

Doublon #81011.

#3

Mis à jour par Frédéric Péters il y a 8 mois

  • Duplique Bug #81011: crash sur édition authentication SAML : IntegrityError: null value in column "attribute_mapping" of relation "authentic2_auth_saml_samlauthenticator" violates not-null contstraint ajouté

Formats disponibles : Atom PDF