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

Home » FUDforum Development » Bug Reports » Serious NNTP Import bug in FUDforum 3.0.3
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Serious NNTP Import bug in FUDforum 3.0.3 - FIXED! [message #167881 is a reply to message #167210] Wed, 31 October 2012 12:09 Go to previous messageGo to previous message
Multitool is currently offline  Multitool   United Kingdom
Messages: 47
Registered: February 2012
Karma:
Member
Multitool wrote on Fri, 18 May 2012 12:03
Just to update in case anyone else was tracking this, Frank has produced a patch that fixes the infinite loop issue.

http://fudforum.svn.sourceforge.net/viewvc/fudforum?view=revision&revis ion=5471

Usernames containing "invalid" characters are still truncated, but at least the import script doesn't crash now Smile


Unfortunately this fix breaks the code that appends [n] to the end of duplicate usernames.

The next number is appended after the previous number, so instead of "James[5]" the name becomes "James[1][2][3][4][5]".
If there are a lot of duplicates, or the original name is long, this ends up making the string exceed the max length, gets truncated, and add_user fails with a duplicate entry.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cache problem when logging in and pressing "Back"
Next Topic: Newsgoups and XML aggregation
Goto Forum:
  

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

Current Time: Wed Nov 27 12:33:21 GMT 2024

Total time taken to generate the page: 0.09211 seconds