FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » error when adding a blocked login that already is blocked
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
error when adding a blocked login that already is blocked [message #4437] Fri, 26 July 2002 20:40 Go to next message
computer_dan is currently offline  computer_dan   Canada
Messages: 58
Registered: July 2002
Location: Toronto
Karma: 0
Member

in the Login Blocker, if you attempt to block a login that is already blocked, you get:

query failed: %( INSERT INTO fud21_blocked_logins (login) VALUES('ccnm') )% because %( Duplicate entry 'ccnm' for key 2 )%

I am using 2.2.4RC1
Re: error when adding a blocked login that already is blocked [message #4440 is a reply to message #4437] Fri, 26 July 2002 20:51 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
computer_dan wrote on Fri, 26 July 2002 16:40

in the Login Blocker, if you attempt to block a login that is already blocked, you get:

query failed: %( INSERT INTO fud21_blocked_logins (login) VALUES('ccnm') )% because %( Duplicate entry 'ccnm' for key 2 )%

I am using 2.2.4RC1


That is not a bug, you should not be blocking already blocked logins, the list of all the blocked logins is listed at the bottom of the page for that very reason.


FUDforum Core Developer
Re: error when adding a blocked login that already is blocked [message #4442 is a reply to message #4440] Fri, 26 July 2002 20:52 Go to previous messageGo to next message
computer_dan is currently offline  computer_dan   Canada
Messages: 58
Registered: July 2002
Location: Toronto
Karma: 0
Member

understood, but i would assume that an error page would come up, rather than having a database error sprout.
Re: error when adding a blocked login that already is blocked [message #4444 is a reply to message #4442] Fri, 26 July 2002 20:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Admin control panels do not have any error checking for situations such as this, IMHO it would be a waste of my time to do them. The admin should be competent enough to avoid oopses such as this.

FUDforum Core Developer
Re: error when adding a blocked login that already is blocked [message #4446 is a reply to message #4444] Fri, 26 July 2002 20:58 Go to previous messageGo to next message
computer_dan is currently offline  computer_dan   Canada
Messages: 58
Registered: July 2002
Location: Toronto
Karma: 0
Member

prottoss wrote on Fri, 26 July 2002 16:54

... The admin should be competent enough to avoid oopses such as this.


Shocked

Just kidding...thanks dude. I appreciate your hard work.
Re: error when adding a blocked login that already is blocked [message #4447 is a reply to message #4446] Fri, 26 July 2002 21:02 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Error checking is necessary for general public, which is why all user forms in FUDforum have extensive error checks and detailed error messages.
The critical things like thread prunning, deletion of messages, etc... also have an in between verification steps to prevent accidents.

However, basic input errors, which would not cause any problems should the problem occur on admin panels do not have error checks are not needed. If an error occurs and you get a MySQL error the error message will tell you want the problem is, so it is not like you cannot figure it out.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "Show Polls" link error
Next Topic: Show Polls
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Feb 03 03:12:38 GMT 2025

Total time taken to generate the page: 0.02553 seconds