#2 Unhelpful error when trying to add a duplicate ISP

Ouvert
Créé il y a 10 ans par zorun · 2 commentaires
zorun a commenté il y a 10 ans

When adding a new ISP through a JSON URL, if the ISP already exists in the system, the error message is not at all helpful:

* Validating the JSON against the schema
/!\ Error with the validation API, connection was closed. Retry in a few seconds

The check for duplicate seems to come from WebValidator in crawler.py, but the error message is not propagated back to the user.

When adding a new ISP through a JSON URL, if the ISP already exists in the system, the error message is not at all helpful: * Validating the JSON against the schema /!\ Error with the validation API, connection was closed. Retry in a few seconds The check for duplicate seems to come from `WebValidator` in `crawler.py`, but the error message is not propagated back to the user.
neodarz a commenté il y a 7 ans

This issue can be closed, now error message is :

Error:This URL is already in our database
This issue can be closed, now error message is : ``` Error:This URL is already in our database ```
pitchum a commenté il y a 6 ans
Collaborateur

I managed to reproduce this issue by trying to submit the same project twice in two tabs. In normal circumstances it cannot happen because the duplicated json_url is detected on the previous page (https://db.ffdn.org/isp/create).

I managed to reproduce this issue by trying to submit the same project twice in two tabs. In normal circumstances it cannot happen because the duplicated json_url is detected on the previous page (https://db.ffdn.org/isp/create).
Connectez-vous pour rejoindre cette conversation.
Pas d'étiquette
bug
Aucun jalon
Pas d'assignataire
3 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.