Project

General

Profile

Actions

Bug #114402

closed

Renvoyer les exports CSV avec une HttpResponse classique

Added by Benjamin Dauvergne about 1 month ago. Updated about 1 month ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
04 February 2026
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/organizations/entrouvert/issues/10986/
Les StreamingHTTPResponse ne fonctionnent pas si l'itérateur sur les modèles continue de s'exécuter en dehors du contexte du tenant, il faudra attendra la généralisation du TenantWSGIMiddleware pour ça (#114241).

Traceback (most recent call last):
  File "django/db/backends/utils.py", line 89, in _execute
    return self.cursor.execute(sql, params)
UndefinedTable: relation "a2_rbac_role" does not exist
LINE 1: ...logo", "a2_rbac_organizationalunit"."colour" FROM "a2_rbac_r...
                                                             ^


Related issues 2 (1 open1 closed)

Related to Authentic 2 - Développement #114109: retirer la dépendance tablib (qui tire trop de dépendances)Solution déployéeBenjamin Dauvergne29 January 2026

Actions
Related to Hobo - Développement #114403: TenantWSGIMiddleware: intégrer l'itération de la réponse dans le contexte du tenantSolution proposéeBenjamin Dauvergne04 February 2026

Actions
Actions #1

Updated by Benjamin Dauvergne about 1 month ago

  • Description updated (diff)
Actions #2

Updated by Benjamin Dauvergne about 1 month ago

  • Assignee set to Benjamin Dauvergne
Actions #3

Updated by Benjamin Dauvergne about 1 month ago

  • Status changed from Nouveau to Solution proposée

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #4

Updated by Benjamin Dauvergne about 1 month ago

  • Subject changed from Renvoyer les exorts CSV avec une HTTPResponse classique to Renvoyer les exports CSV avec une HTTPResponse classique
Actions #5

Updated by Benjamin Dauvergne about 1 month ago

  • Project changed from 369 to Authentic 2
Actions #6

Updated by Benjamin Dauvergne about 1 month ago

Actions #7

Updated by Benjamin Dauvergne about 1 month ago

  • Related to Développement #114403: TenantWSGIMiddleware: intégrer l'itération de la réponse dans le contexte du tenant added
Actions #8

Updated by Benjamin Dauvergne about 1 month ago

  • Subject changed from Renvoyer les exports CSV avec une HTTPResponse classique to Renvoyer les exports CSV avec une HttpResponse classique
Actions #9

Updated by Paul Marillonnet about 1 month ago

  • Status changed from Solution proposée to Solution validée

🤖 Pull request approuvée :

Actions #10

Updated by Benjamin Dauvergne about 1 month ago

  • Status changed from Solution validée to Résolu (à déployer)

🤖 Pull request fusionnée :

Actions #11

Updated by Transition automatique about 1 month ago

  • Status changed from Résolu (à déployer) to Solution déployée
Actions

Also available in: Atom PDF