Project

General

Profile

Bug #56207

"list index error" sur une soumission backoffice

Added by Benjamin Dauvergne over 1 year ago. Updated 9 months ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
17 August 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/nfrance/issues/48082/

IndexError: list index out of range
  File "wcs/compat.py", line 56, in get
    context = self.get_context_data(**kwargs)
  File "wcs/views.py", line 37, in get_context_data
    body = get_publisher().try_publish(get_request())
  File "quixote/publish.py", line 241, in try_publish
    output = self.root_directory._q_traverse(components)
  File "modules/root.py", line 303, in _q_traverse
    output = Directory._q_traverse(self, path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "wcs/backoffice/root.py", line 84, in _q_traverse
    return super()._q_traverse(path)
  File "quixote/directory.py", line 116, in _q_traverse
    return super(AccessControlled, self)._q_traverse(path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "quixote/directory.py", line 88, in _q_traverse
    return obj._q_traverse(path)
  File "quixote/directory.py", line 92, in _q_traverse
    return obj()
  File "wcs/backoffice/submission.py", line 148, in _q_index
    return super()._q_index(*args, **kwargs)
  File "wcs/forms/root.py", line 1181, in _q_index
    return self.page(self.pages[page_no])

On se retrouve visiblement avec un page_no pour une page qui n'existe pas.

History

#1

Updated by Frédéric Péters 9 months ago

  • Project changed from Suivi des traces to w.c.s.

Also available in: Atom PDF