Development #77579
AttributeError: 'ComputedField' object has no attribute 'get_view_short_value'
Début:
15 mai 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/110315/
AttributeError: 'ComputedField' object has no attribute 'get_view_short_value' (12 additional frame(s) were not displayed) ... File "wcs/backoffice/management.py", line 2190, in _q_index table = FormDefUI(self.formdef).listing( File "wcs/forms/backoffice.py", line 140, in listing r += htmltext(self.tbody(fields, items, url_action, include_checkboxes=include_checkboxes)) File "wcs/forms/backoffice.py", line 321, in tbody field_value = filled.get_field_view_value(f, max_length=30) File "wcs/formdata.py", line 914, in get_field_view_value return get_value(field, self.data) File "wcs/formdata.py", line 903, in get_value return field.get_view_short_value(field_value, max_length, **kwargs)
Révisions associées
Historique
Mis à jour par Robot Gitea il y a 12 mois
- Tracker changé de Bug à Development
- 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/324
- Titre : backoffice: do not accept computed fields as column (#77579)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/324/files
Mis à jour par Robot Gitea il y a 12 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 12 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/324
- Titre : backoffice: do not accept computed fields as column (#77579)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/324/files
Mis à jour par Transition automatique il y a 12 mois
- Statut changé de Résolu (à déployer) à Solution déployée
backoffice: do not accept computed fields as column (#77579)