Bug #89241
édition d'un champ bloc de champs, blockdef manquant (KeyError)
Début:
08 avril 2024
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/123844/
FileNotFoundError: [Errno 2] No such file or directory: b'/var/lib/wcs/tenants/demarches-sathonaycamp.guichet-recette.grandlyon.com/blockdefs-slug/identite_usager_sve' File "wcs/qommon/storage.py", line 579, in get_filename fd = open(force_bytes(filename, 'utf-8'), 'rb') # pylint: disable=consider-using-with KeyError: (14 additional frame(s) were not displayed) ... File "quixote/directory.py", line 92, in _q_traverse return obj() File "wcs/admin/fields.py", line 103, in _q_index self.field.block.get_admin_url(), File "wcs/fields/block.py", line 134, in block self._block = BlockDef.get_on_index(self.block_slug, 'slug') File "wcs/qommon/storage.py", line 547, in get_on_index return cls.get_filename(filename, ignore_errors=ignore_errors, ignore_migration=ignore_migration) File "wcs/qommon/storage.py", line 584, in get_filename raise KeyError()
Demandes liées
Révisions associées
backoffice: mark missing block as missing when editing form field (#89241)
Historique
Mis à jour par Lauréline Guérin il y a 22 jours
- Lié à Bug #89231: applification: ne pas planter sur une dépendance à un blockdef (KeyError) ajouté
Mis à jour par Robot Gitea il y a 22 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/1378
- Titre : WIP: backoffice: mark missing block as missing when editing form field (#89241)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1378/files
Mis à jour par Robot Gitea il y a 21 jours
- 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 18 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/1378
- Titre : backoffice: mark missing block as missing when editing form field (#89241)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1378/files
Mis à jour par Transition automatique il y a 18 jours
- Statut changé de Résolu (à déployer) à Solution déployée
misc: use uniform label for block of fields (#89241)