6.0.0-beta1
7/4/25

[#11430] Error with non existing default identities
Summary Error with non existing default identities
Queue IMP
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester o+horde (at) immerda (dot) ch
Created 09/17/2012 (4673 days ago)
Due
Updated 09/24/2012 (4666 days ago)
Assigned 09/23/2012 (4667 days ago)
Resolved 09/24/2012 (4666 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/24/2012 10:21:28 AM Jan Schneider State ⇒ Not A Bug
 
09/23/2012 10:24:44 PM o+horde (at) immerda (dot) ch Comment #4 Reply to this comment
This code doesn't exist in git.  And it has not been shown that this 
problem is caused by anything Horde has done.  Unless it can be 
shown how/why Horde caused this problem, we are not going to put in 
fixes.
the code still exists almost in the same way...

but indeed i can confirm that the current stable horde does update the 
default_identity when it gets deleted. so it must have been an issue 
with an earlier version, or with the migration from horde3.

i guess you can close the ticket, we just fixed the affected profiles 
in the database.
09/23/2012 09:45:40 PM Michael Slusarz Comment #3
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
This code doesn't exist in git.  And it has not been shown that this 
problem is caused by anything Horde has done.  Unless it can be shown 
how/why Horde caused this problem, we are not going to put in fixes.
09/17/2012 11:53:05 AM o+horde (at) immerda (dot) ch Comment #2 Reply to this comment
sorry forgot:

justification for high: users affected by this problem cannot reply to 
an email
09/17/2012 11:51:35 AM o+horde (at) immerda (dot) ch Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Error with non existing default identities
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
On our system we discovered several users with default identities, 
which do no longer exist anymore. We have not investigated whether 
this is a legacy issue, or still happening when deleting the default 
identity.

Please merge our mitigation:

/imp/lib/Prefs/Identity.php
329,331c329,333
<         $tmp = $ids[$default];
<         unset($ids[$default]);
<         $ids[$default] = $tmp;
---
         if(isset($ids[$default])) {
           $tmp = $ids[$default];
           unset($ids[$default]);
           $ids[$default] = $tmp;
         }

Saved Queries