Alias handling problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu IRC Bots |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In one case, an unresolvable alias cannot be modified:
[23:55:05] <LjL> !shift backspace-
[23:55:06] <ubotu> is Error: unresolvable <alias>
[23:55:08] <LjL> !-shift backspace-
[23:55:10] <ubotu> shift backspace is <alias> backspace-
[23:55:21] <LjL> !no shift backspace-
[23:55:22] <ubotu> I'll remember that LjL
[23:55:28] <LjL> !shift backspace-
[23:55:46] <LjL> (throttle throttle...)
[23:56:03] <LjL> !shift backspace-
[23:56:04] <ubotu> is Error: unresolvable <alias>
Reproducing this artificially failed, though:
[23:59:17] <LjL> !testljl is a test
[23:59:17] <ubotu> I'll remember that, LjL
[23:59:22] <LjL> !testljlalias is <alias> testljl
[Seveas: hmm... that's also a bug, all messages go through the repeat queue, even the "I'll remember"]
[23:59:35] <LjL> !ping
[23:59:36] <ubotu> pong
[23:59:41] <LjL> !testljlalias
[23:59:42] <ubotu> testljl is a test
[23:59:50] <LjL> !forget testljl
[23:59:51] <ubotu> I'll forget that, LjL
[23:59:54] <LjL> !testljlalias
[23:59:54] <ubotu> is Error: unresolvable <alias>
[00:00:01] <LjL> !no testljlalias is another test
[00:00:02] <ubotu> I'll remember that LjL
[00:00:03] <LjL> !testljlalias
[00:00:04] <ubotu> testljlalias is another test
Trying a factoid with a name containing spaces made no difference; however, using a cross-channel channel-specific factoid showed a slightly different problem, in that the parent factoid cannot be forgotten:
[00:04:20] <LjL> !testljl-
[00:04:21] <ubotu> I'll remember that, LjL
[00:04:34] <LjL> !testljl-
[00:04:42] <LjL> !testljl-
[00:04:43] <ubotu> testljl is a channel specific test
[00:04:49] <LjL> !forget testljl-#ubuntu-ops
[00:04:50] <ubotu> I'll forget that, LjL
[00:05:32] <LjL> !testljl-
[00:05:33] <ubotu> testljl is a channel specific test
[00:05:54] <LjL> !-testljl-
[00:05:56] <ubotu> testljl has no aliases - added by LjL on 2007-02-09 00:04:21
[00:06:15] <LjL> !-testljl-
[00:06:16] <ubotu> testljl is <alias> testljl-#ubuntu-ops - added by LjL on 2007-02-09 00:04:34
The bug was in the channel- specificness, not in the alias handling. All fixed though.