Projet

Général

Profil

Bug #65457

Admin Settings - Create/Edit filetype avec erreur dans le formulaire (AttributeError: 'NoneType' object has no attribute 'split')

Ajouté par Sentry Io il y a presque 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
19 mai 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

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

AttributeError: 'NoneType' object has no attribute 'split'
(9 additional frame(s) were not displayed)
...
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "wcs/admin/settings.py", line 416, in _q_traverse
    return Directory._q_traverse(self, path)
  File "quixote/directory.py", line 92, in _q_traverse
    return obj()
  File "wcs/admin/settings.py", line 384, in _q_index
    'mimetypes': self.parse_mimetypes(form.get_widget('mimetypes').parse()),
  File "wcs/admin/settings.py", line 349, in parse_mimetypes
    return [ensure_mimetype(x) for x in value.split(',')]

Fichiers


Demandes liées

Dupliqué par w.c.s. - Bug #46719: AttributeError: 'NoneType' object has no attribute 'split'Fermé17 septembre 2020

Actions

Révisions associées

Révision 6e4b6c49 (diff)
Ajouté par Lauréline Guérin il y a presque 2 ans

admin: fix filetypes with empty fields (#65457)

Historique

#1

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Projet changé de Suivi des traces à w.c.s.
#2

Mis à jour par Lauréline Guérin il y a presque 2 ans

#3

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Sujet changé de AttributeError: 'NoneType' object has no attribute 'split' à Admin Settings - Create/Edit filetype avec erreur dans le formulaire (AttributeError: 'NoneType' object has no attribute 'split')
#4

Mis à jour par Frédéric Péters il y a presque 2 ans

  • Statut changé de Solution proposée à Solution validée
#5

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 6e4b6c4978b25018e008c36b5b5acb18b99b24ed
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Jun 13 11:05:15 2022 +0200

    admin: fix filetypes with empty fields (#65457)
#6

Mis à jour par Transition automatique il y a presque 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#7

Mis à jour par Transition automatique il y a plus d'un an

Automatic expiration

#8

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

  • Dupliqué par Bug #46719: AttributeError: 'NoneType' object has no attribute 'split' ajouté

Formats disponibles : Atom PDF