We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lorsqu'un utilisateur sans organisme est lié à une ZP, cela provoque un disfonctionnement de l'affichage des résultats des ZP lors d'une recherche:
87367 [2023-01-10 15:49:49 +0100] [907] [ERROR] Exception on /priority_flora/prospect-zones [GET] 87368 Traceback (most recent call last): 87369 File "/home/geonat/www/geonature_v2.9.2/backend/venv/lib/python3.9/site-packages/flask/app.py", line 1949, in full_dispatch_request 87370 rv = self.dispatch_request() 87371 File "/home/geonat/www/geonature_v2.9.2/backend/venv/lib/python3.9/site-packages/flask/app.py", line 1935, in dispatch_request 87372 return self.view_functions[rule.endpoint](**req.view_args) 87373 File "/home/geonat/www/geonature_v2.9.2/backend/geonature/core/gn_permissions/decorators.py", line 82, in __check_cruved_scope 87374 return fn(*args, **kwargs) 87375 File "/home/geonat/www/geonature_v2.9.2/backend/venv/lib/python3.9/site-packages/utils_flask_sqla/response.py", line 19, in _json_resp 87376 res = fn(*args, **kwargs) 87377 File "/home/geonat/www/modules/priority-flora/backend/gn_module_priority_flora/blueprint.py", line 117, in get_prospect_zones 87378 set( 87379 File "/home/geonat/www/modules/priority-flora/backend/gn_module_priority_flora/blueprint.py", line 119, in <lambda> 87380 lambda obs: obs["organisme"]["nom_organisme"], 87381 TypeError: 'NoneType' object is not subscriptable
Il faudrait éviter ce problème en évitant l'apparition de cette erreur.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Lorsqu'un utilisateur sans organisme est lié à une ZP, cela provoque un disfonctionnement de l'affichage des résultats des ZP lors d'une recherche:
Il faudrait éviter ce problème en évitant l'apparition de cette erreur.
The text was updated successfully, but these errors were encountered: