Projet

Général

Profil

Bug #36014

test visibilité vs statut qui n'existe pas

Ajouté par Frédéric Péters il y a plus de 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
10 septembre 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Dans mon environnement local qui est une jungle,

Exception:
  type = '<type 'exceptions.AttributeError'>', value = ''NoneType' object has no attribute 'get_visibility_restricted_roles''

Stack trace (most recent call first):
  File "/home/fred/src/eo/wcs/wcs/backoffice/management.py", line 2209, in get_extra_context_bar
  2207                     (status_colour, fg_colour))
  2208             r += htmltext('<span>%s %s') % (_('Status:'), formdata.get_status_label())
> 2209             if formdata.get_status().get_visibility_restricted_roles():
  2210                 r += htmltext('<span class="visibility-off" title="%s"></span>') % _(
  2211                         'This status is not visible to users.')

Historique

#1

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Nouveau à Fermé

Dupliqué et corrigé dans #37005.

Formats disponibles : Atom PDF