Accepting autocompletion on Followup-To doesn't correctly set the header
summary
If you compose a news article and set the Followup-To
header via autocomplete (i.e., by typing the first few characters of a newsgroup name and then selecting the entry from the autocomplete list), then sending the news article fails with something like the following error message:
A News (NNTP) error occurred: No valid newsgroups in "at.test <>"
This error happens only when the CardBook add-on is enabled and when the autocomplete function is used. Manually typing the full newsgroup name in the Followup-To
header works fine. Autocompleting the Followup-To
header when CardBook is disabled also works fine.
screenshot
steps to reproduce the bug
- Select some newsgroup you are subscribed to (say,
at.test
) and start composing a news article (e.g., by using the "Write" button in the toolbar, or by pressing Ctrl+N). A compose window should appear with theNewsgroup
header pre-filled toat.test
. - In the next header line, select "Followup-To:" from the drop-down list.
- In the input box for the
Followup-To
header, type the first few characters ofat.test
and wait for the autocompletion drop-down to appear. Then selectat.test
from the list of autocompletions. - Enter something in the input box for the
Subject
header. - Send the article (e.g., by pressing the "Send" button in the toolbar or by pressing Ctrl+Enter).
current behavior
- A "Sending Message" dialog pops up with a progress bar, then another "Alert" dialogue with the following error message:
A News (NNTP) error occurred: No valid newsgroups in "at.test <>"
expected behavior
- The article should have been posted successfully to at.test, with the
Followup-To
header set toat.test
.
my version numbers
- CardBook: 44.2
- Thunderbird: 68.7.0
- OS: openSUSE Tumbleweed (x86-64)
CardBook log
Log is empty
Thunderbird console log
Log is empty