Summary | Multiple identities not saving in imp/horde |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | ehymel (at) e-medico (dot) com |
Created | 01/07/2009 (5974 days ago) |
Due | |
Updated | 01/27/2009 (5954 days ago) |
Assigned | 01/09/2009 (5972 days ago) |
Resolved | 01/27/2009 (5954 days ago) |
Milestone | |
Patch | No |
Assigned to Michael Slusarz
State ⇒ Resolved
http://cvs.horde.org/diff.php/framework/Util/String.php?rt=horde&r1=1.93&r2=1.94&ty=u
http://cvs.horde.org/diff.php/horde/docs/CHANGES?rt=horde&r1=1.1197&r2=1.1198&ty=u
http://cvs.horde.org/diff.php/horde/docs/CHANGES?rt=horde&r1=1.515.2.504&r2=1.515.2.505&ty=u
http://cvs.horde.org/diff.php/framework/Util/String.php?rt=horde&r1=1.43.6.35&r2=1.43.6.36&ty=u
By the way, I made the change in 2 files:
/usr/share/pear/Horde/String.php
and
<my_horde_root>/framework/Util/String.php
Not sure which one is needed to have the change, but the files are
probably related anyway.
Without reset(...) the array entry with index=0 will get lost.
--- horde3/lib/Horde/String.php 2008-12-14 16:43:17.000000000 +0100
+++ /dev/null 2009-01-25 18:34:53.000000000 +0100
@@ -94,6 +94,7 @@
if (is_array($input)) {
$tmp = array();
+ reset($input);
while (list($key, $val) = each($input)) {
$tmp[String::_convertCharset($key, $from, $to)] =
String::convertCharset($val, $from, $to);
}
identity in several months. Using options -> Mail -> Personal
Information *or* options -> Global Options -> Personal Information
(why have both??), if I create a new identity, all previous
identities are wiped out, and the new identity is not saved. I can
save one identity only.
last cvs update was 1/5/09.
This is my test.php output:
Horde Version
Horde: 4.0-cvs
Horde Applications
Dimp: H3 (2.0-cvs)
Gollem: H3 (1.1-cvs) (run Gollem tests)
Horde: 4.0-cvs
Imp: H3 (5.0-cvs) (run Imp tests)
Ingo: H3 (2.0-cvs) (run Ingo tests)
Klutz: 1.0-cvs (run Klutz tests)
Kronolith: H3 (3.0-cvs) (run Kronolith tests)
Mimp: H3 (2.0-cvs)
Nag: H3 (3.0-cvs)
Passwd: H3 (3.1-cvs) (run Passwd tests)
Turba: H3 (3.0-cvs) (run Turba tests)
State ⇒ Feedback
$conf[prefs][params][table] (the laste item in Administration ->
Setup -> Horde -> Preference System).
Set this value to your preference table (default is horde_prefs)
used. I put the default in anyway and the behavior does not change. I
cannot create another identity.
Some more details about the behavior.
1. I can create an identity, let's call it id1 and save all
corresponding information. That identity will work as expected in
email and I can edit the details of id1 with no problem.
2. If I now create a new identity, say id2, horde acts as if it saves.
But when I go back to "Personal Information" the "Default Identity" is
now listed as id2, and all information about that identity is blank.
Further, both id1 and id2 are missing from the drop-down list of
identities. Instead, there is a listing in the drop-down list that has
an empty name with no information saved in that blank name identity.
3. If I delete that blank identity, the resulting information message
says "id2 deleted", then reverts back to id1 as my default, although
now id1 contains no information.
The other users on my server can still see identities created several
months ago, but just like me, if they try to create a new identity
then all identities are lost.
identity in several months. Using options -> Mail -> Personal
Information *or* options -> Global Options -> Personal Information
(why have both??), if I create a new identity, all previous
identities are wiped out, and the new identity is not saved. I can
save one identity only.
$conf[prefs][params][table] (the laste item in Administration -> Setup
-> Horde -> Preference System).
Set this value to your preference table (default is horde_prefs)
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Multiple identities not saving in imp/horde
Type ⇒ Bug
Priority ⇒ 2. Medium
identity in several months. Using options -> Mail -> Personal
Information *or* options -> Global Options -> Personal Information
(why have both??), if I create a new identity, all previous identities
are wiped out, and the new identity is not saved. I can save one
identity only.