Bug #20754
opengis: traiter correctement les retours d'erreur d'opengis
Début:
15 décembre 2017
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Quand on reçoit ça:
u'<ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 https://sigmetropole.lametro.fr/geoserver/schemas/ows/1.1.0/owsAll.xsd">\n <ows:Exception exceptionCode="NoApplicableCode">\n <ows:ExceptionText>Could not parse CQL filter list.\nEncountered &quot;BIS&quot; at line 1, column 129.\nWas expecting one of:\n &lt;EOF&gt; \n &quot;and&quot; ...\n &quot;or&quot; ...\n &quot;;&quot; ...\n &quot;/&quot; ...\n &quot;*&quot; ...\n &quot;+&quot; ...\n &quot;-&quot; ...\n Parsing : strEqualsIgnoreCase(nom_commune, &ap os;Grenoble&apos;) = true AND strEqualsIgnoreCase(nom_voie, &apos;rue albert recoura&apos;) = true AND numero=8 BIS.</ows:ExceptionText>\n </ows:Exception>\n</ows:ExceptionReport>\n'
On devrait s'en sortir pour retourner une erreur correcte.
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Fichier 0001-opengis-correctly-handle-XML-formatted-OpenGIS-error.patch 0001-opengis-correctly-handle-XML-formatted-OpenGIS-error.patch ajouté
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Fichier 0001-opengis-correctly-handle-XML-formatted-OpenGIS-error.patch 0001-opengis-correctly-handle-XML-formatted-OpenGIS-error.patch ajouté
Avec un test.
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Fichier 0001-opengis-correctly-handle-XML-formatted-OpenGIS-error.patch 0001-opengis-correctly-handle-XML-formatted-OpenGIS-error.patch ajouté
Et en évitant de cacher un test existant.
Mis à jour par Frédéric Péters il y a environ 6 ans
- Statut changé de Nouveau à Résolu (à déployer)
Conciergerie.
commit ec7c70636233f35ab39ad0098eef5027f2dcd810 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Fri Dec 15 20:54:52 2017 +0100 opengis: correctly handle XML formatted OpenGIS errors (#20754)
Mis à jour par Benjamin Dauvergne il y a plus de 5 ans
- Statut changé de Résolu (à déployer) à Fermé
opengis: correctly handle XML formatted OpenGIS errors (#20754)