TheProjecter / vbulletinbot

Automatically exported from code.google.com/p/vbulletinbot
0 stars 0 forks source link

"mfr" in root forum #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. navigate to root forum "/"
2. "mfr"

What is the expected output? What do you see instead?

Should mark all forums as read. Instead the user sees nothing and the bot
throws the exception:

2009-12-19 01:00:45 ExecuteCommand crapped out
System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
   at vbotserver.VB.MarkRead(Int32 iVBUserId, Int32 iID, String strField)
in C:\
vbulletin2\vbot\vbotserver\vbotserver\VB.cs:line 459
   at vbotserver.Controller.MarkRead(User user, String strField) in
C:\vbulletin
2\vbot\vbotserver\vbotserver\Controller.cs:line 844
   at vbotserver.Controller.ExecuteCommand(String strCommand, User user) in
C:\v
bulletin2\vbot\vbotserver\vbotserver\Controller.cs:line 234
   at vbotserver.Controller.OnMessageCallback(Connection conn,
InstantMessage im
) in C:\vbulletin2\vbot\vbotserver\vbotserver\Controller.cs:line 130

Original issue reported on code.google.com by acla...@gmail.com on 19 Dec 2009 at 6:03

GoogleCodeExporter commented 9 years ago

Original comment by acla...@gmail.com on 29 May 2010 at 6:30