Pipe is not appended to single option
|Reported by:||jbeilicke||Owned by:||cmc|
I just noticed that some queries didn't return all matching tickets. At first I thought it might be caused by old data, that was not updated (see also #9731). It turned out, that every update to a ticket (ticket properties or comments) removes the pipe of single options again.
When the multi had more than one selected options (which worked fine) and all but one options are removed, the remaining option is stored without a pipe.
I assume that the pipe is simply not set in the model.py __setitem__() where isinstance(value, list) is processed - maybe the value isn't a list anymore?
Feedback is highly appreciated. :)