Bug #114507
closedAttributeError: 'NoneType' object has no attribute 'values'
0%
Description
https://sentry.entrouvert.org/organizations/entrouvert/issues/11260/
crash lors de la tentative de filtrage des accès backoffice
Traceback (most recent call last):
File "django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "hobo/middleware/backoffice_access.py", line 57, in __call__
and is_backoffice_access(request)
File "hobo/middleware/backoffice_access.py", line 33, in is_backoffice_access
for service in services.get(settings.PROJECT_NAME).values():
AttributeError: 'NoneType' object has no attribute 'values'
Updated by Serghei Mihai 29 days ago
Trou dans la raquette car PROJECT_NAME d'authentic ne correspond pas au slug du service dans KNOWN_SERVICES.
Updated by Serghei Mihai 26 days ago
- Status changed from Nouveau to En cours
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/hobo/pulls/319
- Titre : WIP: backoffice_access: rely on service url instead of project name (#114507)
- Modifications : https://git.entrouvert.org/entrouvert/hobo/pulls/319/files
Updated by Serghei Mihai 26 days ago
- Status changed from En cours to Solution proposée
Updated by Serghei Mihai 26 days ago
🤖 Relecture de Benjamin Dauvergne (bdauvergne) demandée sur la pull request :
Updated by Benjamin Dauvergne 26 days ago
- Status changed from Solution proposée to Solution validée
🤖 Pull request approuvée :
Updated by Thomas Noël 26 days ago
- Status changed from Solution validée to En cours
🤖 Modifications demandées sur la pull request :
Updated by Serghei Mihai 25 days ago
- Status changed from En cours to Solution proposée
🤖 Relecture de Thomas NOËL (tnoel) demandée sur la pull request :
Updated by Benjamin Dauvergne 25 days ago
- Status changed from Solution proposée to Solution validée
🤖 Pull request approuvée :
Updated by Serghei Mihai 25 days ago
- Status changed from Solution validée to Résolu (à déployer)
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/hobo/pulls/319
- Titre : backoffice_access: rely path to detect backoffice access (#114507)
- Modifications : https://git.entrouvert.org/entrouvert/hobo/pulls/319/files
Updated by Thomas Noël 25 days ago
🤖 Modifications demandées sur la pull request :
Updated by Serghei Mihai 25 days ago
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/hobo/pulls/320
- Titre : backoffice_access: make sure combo only can be portal agent (#114507)
- Modifications : https://git.entrouvert.org/entrouvert/hobo/pulls/320/files
Updated by Serghei Mihai 25 days ago
🤖 Relecture de Thomas NOËL (tnoel) demandée sur la pull request :
Updated by Serghei Mihai 25 days ago
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/hobo/pulls/320
- Titre : backoffice_access: make sure combo only can be portal agent (#114507)
- Modifications : https://git.entrouvert.org/entrouvert/hobo/pulls/320/files
Updated by Serghei Mihai 25 days ago
- Status changed from Résolu (à déployer) to Solution déployée