Title Problem with email replies for tickets which use [...] in the subject
Priority bug Status chatting
Superseder Nosy List ezio.melotti, lemburg
Assigned To Topics

Created on 2017-09-21.07:31:47 by lemburg, last changed 2017-09-23.01:24:44 by ezio.melotti.

msg3394 (view) Author: lemburg Date: 2017-09-21.07:31:47
Issue use a title "[2.7] Python 2.7 readahead feature of file objects is not thread safe" for the ticket. When trying to reply to ticket items via email, roundup sent back an error message stating:
There were problems handling your subject line argument list:
- not of form [arg=value,value,...;arg=value,value,...]

Subject was: "Re: [issue31530] [2.7] Python 2.7 readahead feature of
file objects is not thread safe"

Apparently, it was picking up the "[2.7]" as an argument indicator. Removing the "[2.7]" from the title made the problem go away.

Since I don't think anyone (apart from maybe Roundup itself) is using [...] for passing arguments to it, it would probably be better to disable such parsing logic for email messages altogether or at least filter/quote and such occurrences in ticket titles so that they are not parsed.

msg3395 (view) Author: ezio.melotti Date: 2017-09-23.01:24:43
This can be fixed in the config by setting subject_prefix_parsing/subject_suffix_parsing to loose instead of strict.
This should still accept valid tags, and ignore invalid ones.
Date User Action Args
2017-09-23 01:24:44ezio.melottisetstatus: unread -> chatting
nosy: + ezio.melotti
messages: + msg3395
2017-09-21 07:31:48lemburgcreate