Projet

Général

Profil

Bug #51251

AttributeError: 'NoneType' object has no attribute 'description'

Ajouté par Sentry Io il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
18 février 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

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

AttributeError: 'NoneType' object has no attribute 'description'
  File "django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "combo/apps/search/models.py", line 227, in ajax_results_view
    'data': service['function'](request, query, pages=pages, with_description=with_description)
  File "combo/apps/search/utils.py", line 146, in search_site
    'description': hit.page.description if with_description is True else '',

Fichiers

Révisions associées

Révision 69d97b1c (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

search: fix view when indexed cell has no page (#51251)

Historique

#1

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

  • Projet changé de Suivi des traces à Combo
#2

Mis à jour par Lauréline Guérin il y a environ 3 ans

  • Assigné à mis à Lauréline Guérin
#3

Mis à jour par Lauréline Guérin il y a environ 3 ans

#4

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

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

Mis à jour par Lauréline Guérin il y a environ 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 69d97b1c08e898e842aaf5568d509d32e2be9435
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Thu Feb 18 14:14:51 2021 +0100

    search: fix view when indexed cell has no page (#51251)
#6

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

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

Formats disponibles : Atom PDF