Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System Linux
  • Severity High
  • Priority Normal
  • Reported Version irssi 0.8.15
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Jukka N. (Phantasm) - 2010-10-06

FS#771 - Channels disappearing from config-file

If the config file has channels with chatnet parameter containing value that doesn't exist in the chatnets specified in the config file, it will cause adding new saved channels to make old saved channels disappearing.

In more detail, the channels that do not have valid chatnet do not show up in /channel list. Also the channels that do disappear are the last channels shown in /channel list before adding new ones. The disappearing of channels only shows after Irssi has been restarted or having done /reaload. The amount of channels disappearing matches to the sum of channels that do not have valid chatnet.

This only occurs if there is at least one valid channel *after* the channel(s) with invalid chatnet.

Example config file "config" attached. Following command example triggers the bug.

/channel list
/channel add #asdf test
/save
/channel list
/reload
/channel list

Causing following output:

19:32 Channel Network Password Settings
19:32 #test test
19:32 #test2 test
19:32 -!- Irssi: Channel #asdf saved
19:32 -!- Irssi: Saved configuration to file /home/ghost/.irssi/config
19:32 -!- Irssi: Theme saved to /home/ghost/.irssi/default.theme
19:32 Channel Network Password Settings
19:32 #test test
19:32 #test2 test
19:32 #asdf test
19:32 -!- Irssi: Reloaded configuration
19:32 Channel Network Password Settings
19:32 #test test
19:32 #asdf test


Seen from the output, that the additional channel is shown properly in /channel list even after /save. But after /reload the channel disappears. Thus, the config file that was saved lost #test2 channel due to the { name = "#bug"; chatnet = "bug"; }, channel included in the config file without chatnet bug configured in the file. Config file saved in the example "config-bugged" attached.

This task does not depend on any other tasks.

max (sku1d)
Tuesday, 07 May 2013, 00:51 GMT
confirmed. same here. manually editing the config-file helped though: i just forgot a '#'

Loading...