[imp] strange bug in imp/lib/LoginTasks/SystemTask/Upgrade.php

norbi norbi at rocknob.de
Thu Apr 4 11:07:16 UTC 2013


Hi List,

we have discoverd a strange bug in 
imp/lib/LoginTasks/SystemTask/Upgrade.php, in some cases the upgrade 
fails and deletes existing entrys from the database,especially the 
entrys trash_folder or draft_folder, if there are umlauts in...

maybe it pointed back to the change in

https://github.com/horde/horde/commit/8e6cc32b43d7e00725dbb3e2074f7f38e41fa31a 


?

we have changed "
$prefs->setValue($val, $old_pref->$mbox->pref_to);" to 
"$prefs->setValue($val, $mbox->pref_to);", 
because"$old_pref->$mbox->pref_to" was allways empty and the 
upgrade-process then deletes the entry.

example: converting trash_folder  "Gel&APY-schte Objekte" to "Gelöschte 
Objekte"

norbert


More information about the imp mailing list