The following issue has been SUBMITTED. ====================================================================== 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: new target: ====================================================================== Date Submitted: 23-May-12 09:34 CEST Last Modified: 23-May-12 09:34 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. ====================================================================== 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 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev