Bug #90091
AssertionError: form value 'image_desktop_size' not a <class 'int'>: got '150'
Début:
26 avril 2024
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/124147/
AssertionError: form value 'image_desktop_size' not a <class 'int'>: got '150' (17 additional frame(s) were not displayed) ... File "wcs/fields/item.py", line 602, in fill_admin_form self.fill_image_options_admin_form( File "wcs/fields/item.py", line 63, in fill_image_options_admin_form form.add( File "wcs/qommon/form.py", line 381, in add QuixoteForm.add(self, widget_class, name, *args, **kwargs) File "quixote/form/form.py", line 235, in add widget = widget_class(name, *args, **kwargs) File "quixote/form/widget.py", line 646, in __init__ assert value is None or type(value) is self.TYPE_OBJECT, (
Révisions associées
misc: allow image size as both string and integer (#90091)
Historique
Mis à jour par Frédéric Péters il y a 11 jours
- Assigné à mis à Frédéric Péters
Import sur la prod d'une démarche de la recette, qui contient #81010; je serais pour produire un hotfix pour gérer ça.
Mis à jour par Robot Gitea il y a 11 jours
- 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/1445
- Titre : WIP: misc: allow image size as both string and integer (#90091)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1445/files
Mis à jour par Robot Gitea il y a 9 jours
- Statut changé de Solution proposée à Solution validée
Serghei Mihai (smihai) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 9 jours
- 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/1445
- Titre : misc: allow image size as both string and integer (#90091)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1445/files
Mis à jour par Transition automatique il y a 8 jours
- Statut changé de Résolu (à déployer) à Solution déployée
misc: allow image size as string (#90091)