Mercurial > p > roundup > code
diff roundup/cgi/form_parser.py @ 5170:2ae3954e972f
Hopefully fix issue2550929
(Edit error on message_type when no content is given)
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Fri, 21 Oct 2016 14:12:44 +0200 |
| parents | cc4f4ee46d88 |
| children | 5b63cfc95255 |
line wrap: on
line diff
--- a/roundup/cgi/form_parser.py Fri Sep 02 23:45:57 2016 -0400 +++ b/roundup/cgi/form_parser.py Fri Oct 21 14:12:44 2016 +0200 @@ -597,6 +597,8 @@ # Avoid emptying the file if props.has_key('content') and not props['content']: del props ['content'] + if id is not None and id.startswith('-'): + del all_props[(cn, id)] return all_props, all_links def parse_file(self, fpropdef, fprops, v):
