### Author Topic: Deleting Identities not working  (Read 1732 times)

#### daz

• Newbie
• Posts: 2
##### Deleting Identities not working
« on: February 14, 2008, 08:39:33 PM »
Sorry if I do something wrong, this is my first post in this section

Nightly SVN Build: roundcubemail-trunk-r1045-20080211 (11-Feb-2008 23:51)

I added a second identity to my account, and then when I try to delete either identity, it fails with the error:
Code: [Select]
`You cannot delete this identity, it's your last one.`
error log:
Code: [Select]
`[14-Feb-2008 18:33:44 -0700] DB Error: DB Error: mismatch Query: SELECT count(*) AS ident_count FROM identities WHERE user_id =  AND del = 1 [DB Error: mismatch] in C:\Inetpub\Webmail\roundcubemail-trunk-r1045-20080211\program\include\rcube_db.inc on line 521`

#### till

• Jr. Member
• Posts: 49
##### Re: Deleting Identities not working
« Reply #1 on: February 16, 2008, 07:10:07 AM »
Quote from: daz
Sorry if I do something wrong, this is my first post in this section

Nightly SVN Build: roundcubemail-trunk-r1045-20080211 (11-Feb-2008 23:51)

I added a second identity to my account, and then when I try to delete either identity, it fails with the error:
Code: [Select]
`You cannot delete this identity, it's your last one.`
error log:
Code: [Select]
`[14-Feb-2008 18:33:44 -0700] DB Error: DB Error: mismatch Query: SELECT count(*) AS ident_count FROM identities WHERE user_id =  AND del = 1 [DB Error: mismatch] in C:\Inetpub\Webmail\roundcubemail-trunk-r1045-20080211\program\include\rcube_db.inc on line 521`

I cannot reproduce this, but I added another check to make sure the user id is really set. Apparently it isn't - no idea why.

Also, when you report an error, read this first.

Thanks,
Till