Bug #78660
erreur expression SQL filtre "existing"
Début:
16 juin 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/111952/
filter-bo0099b801-c512-4044-82be-2aca17de7f3f-operator=existing&
SyntaxError: syntax error at or near "be" LINE 1: ...ta_17_iodas_copie WHERE ( fbo0099b801-c512-4044-82be-2aca17d... ^ Exception: type = '<class 'psycopg2.errors.SyntaxError'>', value = 'syntax error at or near "be" LINE 1: ...iodas_copie WHERE NOT ( ( fbo0099b801-c512-4044-82be-2aca17d... ^ ' Stack trace (most recent call first): File "/usr/lib/python3/dist-packages/wcs/sql.py", line 2152, in get_sorted_ids 2150 else: 2151 sql_statement += cls.get_order_by_clause(order_by) > 2152 cur.execute(sql_statement, parameters) 2153 ids = [x[0] for x in cur.fetchall()] 2154 conn.commit() locals: ... where_clauses = ['NOT ( ( fbo0099b801-c512-4044-82be-2aca17de7f3f IS NULL ) )', 'anonymised IS NULL', 'status != %(c139986587076272)s']
Révisions associées
Historique
Mis à jour par Robot Gitea il y a 11 mois
- Statut changé de Nouveau à Solution proposée
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/395
- Titre : sql: adapt attribute names in Null/NotNull criterias (#78660)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/395/files
Mis à jour par Robot Gitea il y a 11 mois
- Statut changé de Solution proposée à Solution validée
Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 11 mois
- Statut changé de Solution validée à Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/395
- Titre : sql: adapt attribute names in Null/NotNull criterias (#78660)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/395/files
Mis à jour par Transition automatique il y a 11 mois
- Statut changé de Résolu (à déployer) à Solution déployée
sql: adapt attribute names in Null/NotNull criterias (#78660)