Actions
Bug #97004
closedtestdef, TypeError à la suppression d'un test
Start date:
16 October 2024
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/134367/
TypeError: argument of type 'NoneType' is not iterable
File "xml/etree/ElementTree.py", line 1041, in _escape_attrib
if "&" in text:
TypeError: cannot serialize None (type NoneType)
(19 additional frame(s) were not displayed)
...
File "xml/etree/ElementTree.py", line 743, in write
serialize(write, self._root, qnames, namespaces,
File "xml/etree/ElementTree.py", line 906, in _serialize_xml
_serialize_xml(write, e, qnames, None,
File "xml/etree/ElementTree.py", line 899, in _serialize_xml
v = _escape_attrib(v)
File "xml/etree/ElementTree.py", line 1064, in _escape_attrib
_raise_serialization_error(text)
File "xml/etree/ElementTree.py", line 1018, in _raise_serialization_error
raise TypeError(
Updated by Valentin Deniaud over 1 year ago
- Project changed from 369 to w.c.s.
- Subject changed from TypeError: cannot serialize None (type NoneType) to testdef, TypeError à la suppression d'un test
- Assignee set to Valentin Deniaud
Updated by Valentin Deniaud 9 months ago
- Status changed from Nouveau to En cours
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/2333
- Titre : WIP: testdef: do not crash when deleting test without workflow tests (#97004)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/2333/files
Updated by Valentin Deniaud 9 months ago
- Status changed from En cours to Solution proposée
Updated by Frédéric Péters 9 months ago
- Status changed from Solution proposée to Solution validée
🤖 Pull request approuvée :
Updated by Valentin Deniaud 9 months ago
- Status changed from Solution validée to Résolu (à déployer)
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/2333
- Titre : testdef: do not crash when deleting test without workflow tests (#97004)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/2333/files
Updated by Transition automatique 9 months ago
- Status changed from Résolu (à déployer) to Solution déployée
Actions