Bug #84498
recherche sur id_display, UndefinedFunction: operator does not exist: character varying = integer
Début:
08 décembre 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/117263/
UndefinedFunction: operator does not exist: character varying = integer LINE 1: ...ddata_49_table_niveaux_scolaires WHERE id_display = 47 LIMIT... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. (37 additional frame(s) were not displayed) ... File "wcs/variables.py", line 1321, in __getitem__ return getattr(self, key) File "wcs/variables.py", line 1454, in live carddata = carddef.data_class().get_by_id(card_id) File "wcs/carddata.py", line 45, in get_by_id return cls.select([cls._formdef.get_by_id_criteria(value)], limit=1)[0] File "wcs/sql.py", line 2017, in select return list(objects) File "wcs/sql.py", line 1977, in select_iterator cur.execute(sql_statement, parameters)
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a 5 mois
- Projet changé de Suivi des traces à w.c.s.
- Assigné à mis à Frédéric Péters
Mis à jour par Robot Gitea il y a 5 mois
- Statut changé de Nouveau à En cours
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/905
- Titre : WIP: misc: always force custom id_display lookup to be on string (#84498)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/905/files
Mis à jour par Robot Gitea il y a 5 mois
- Statut changé de Solution proposée à Solution validée
Thomas NOËL (tnoel) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 5 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/905
- Titre : misc: always force custom id_display lookup to be on string (#84498)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/905/files
Mis à jour par Transition automatique il y a 5 mois
- Statut changé de Résolu (à déployer) à Solution déployée
misc: always force custom id_display lookup to be on string (#84498)