The following issue has been CONFIRMED. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=972 
====================================================================== 
Reported By:                ealekseev
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   972
Category:                   IMAP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     confirmed
target:                      
====================================================================== 
Date Submitted:             23-May-12 09:34 CEST
Last Modified:              23-May-12 10:17 CEST
====================================================================== 
Summary:                    Can't open cyrillic folders.
Description: 
Latest stable dbmail from git, Postgresql 9.0.7.

After some updates I can't open any existing (or new created) folders if
name set in cyrillic.

Full logs are in attachment.

It writes into log:

May 23 11:07:17 ns1 dbmail-imapd[23048]: [0x2559470] Database:[db]
db_stmt_prepare(+408): [0x252a8d0] [SELECT mailbox_idnr FROM
dbmail_mailboxes WHERE owner_idnr = ? AND name LIKE ? ]
May 23 11:07:17 ns1 dbmail-imapd[23048]: [0x2559470] Database:[db]
db_stmt_set_u64(+428): [0x29469e0] 1:[4]
May 23 11:07:17 ns1 dbmail-imapd[23048]: [0x2559470] Database:[db]
db_stmt_set_str(+416): [0x29469e0] 2:[_________________________________-]
May 23 11:07:17 ns1 dbmail-imapd[23048]: [0x2559470] Database:[db]
db_stmt_set_str(+416): [0x29469e0] 3:[&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1_]
May 23 11:07:17 ns1 dbmail-imapd[23048]: [0x2559470] Error:[db]
db_findmailbox_owner(+1795): SQLException: Parameter index is out of range

But when I make query in DB:

SELECT * from dbmail_mailboxes WHERE owner_idnr = 4 and name LIKE
'&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1_';

all is fine, no errors.
====================================================================== 

---------------------------------------------------------------------- 
 (0003450) paul (administrator) - 23-May-12 10:17
 http://dbmail.org/mantis/view.php?id=972#c3450 
---------------------------------------------------------------------- 
Please update your git tree or try this patch specifically:

http://git.dbmail.eu/paul/dbmail/diff/?id=8a70e9977fb3465012ab3c4d22313d0962837aea


Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
23-May-12 09:34  ealekseev      New Issue                                    
23-May-12 09:34  ealekseev      File Added: out_of_range.txt                    
23-May-12 10:17  paul           Note Added: 0003450                          
23-May-12 10:17  paul           Status                   new => confirmed    
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to