[#7009] Disturbing warning displayed while decoding MIME headers containing accentued characters
Summary Disturbing warning displayed while decoding MIME headers containing accentued characters
Queue Horde Framework Packages
Queue Version FRAMEWORK_3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester mazet (at) softndesign (dot) org
Created 07/02/2008 (57 days ago)
Due
Updated 07/10/2008 (49 days ago)
Assigned 07/02/2008 (57 days ago)
Resolved 07/03/2008 (56 days ago)
Attachments tmp.gz Download
horde.png Download
MIME.diff Download
Milestone
Patch No

History
07/10/2008 mazet (at) softndesign (dot) org Comment #11 Reply to this comment
Maybe, my issue is due to a too version PHP version (5.2.5)...
No, your issue is you are using an old version of Horde.  We can't
fix something that's already been fixed.
You're right, this bug has already been reported (6930) and fixed in 
pre 3.2.2. Debian maintainers are also aware of this bug in their 
3.2.1 package.

Regards
07/08/2008 Michael Slusarz Comment #10 Reply to this comment
Maybe, my issue is due to a too version PHP version (5.2.5)...
No, your issue is you are using an old version of Horde.  We can't fix 
something that's already been fixed.
07/03/2008 mazet (at) softndesign (dot) org Comment #9
New Attachment: MIME.diff Download
Reply to this comment
I found a work-around: I need to check if $ob is an object before 
trying to set  $ob->personal

Maybe, my issue is due to a too version PHP version (5.2.5)...

Regards,

      Laurent


# dpkg -l libapache2-mod-php5
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/H=à garder/besoin Réinstallation/X=les deux (État,Err: majuscule=mauvais)
||/ Nom                    Version                Description
+++-======================-======================-============================================================
ii  libapache2-mod-php5    5.2.5-3+lenny1         server-side, 
HTML-embedded scripting language (Apache 2 modu

07/03/2008 Michael Slusarz Comment #8
State ⇒ Not A Bug
Reply to this comment
If this ever was an issue, it is fixed in HEAD/3.2.1.
07/02/2008 mazet (at) softndesign (dot) org Comment #7
New Attachment: horde.png Download
Reply to this comment
Please find attached a screenshot of the mailbox

BR,

     Laurent
07/02/2008 mazet (at) softndesign (dot) org Comment #6 Reply to this comment
The message and the mailbox list containing the message both render
perfectly fine for me, without any error messages.
Arg!

Is my locale (fr_FR.UTF-8) an issue? My apache config set 
AddDefaultCharset  to UTF-8. php.ini contains default_charset = 
"utf-8" and horde charset variables are set to 'UTF-8'.  I did not 
find anything about charset on dovecot (imap server). Do I mess up 
something then dumping/import DBs?

BR,

        Laurent


07/02/2008 Jan Schneider Comment #5 Reply to this comment
The message and the mailbox list containing the message both render 
perfectly fine for me, without any error messages.
07/02/2008 mazet (at) softndesign (dot) org Comment #4
New Attachment: tmp.gz Download
Reply to this comment
There is nothing attached to the bug report.
Is it ok now?

BR,

    Laurent
07/02/2008 Jan Schneider Queue ⇒ Horde Framework Packages
 
07/02/2008 Jan Schneider Comment #3
Milestone ⇒
State ⇒ Feedback
Reply to this comment
There is nothing attached to the bug report.
07/02/2008 mazet (at) softndesign (dot) org Comment #2 Reply to this comment
Sorry, the subject line wasn't the good one. I attached a mailbox 
containing an email causing warning.
07/02/2008 mazet (at) softndesign (dot) org Comment #1
Patch ⇒
Milestone ⇒ 4.1.6
Queue ⇒ IMP
Summary ⇒ Disturbing warning displayed while decoding MIME headers containing accentued characters
Type ⇒ Bug
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Reply to this comment
Hi,

I've recently (last WE) updated my server from a 4 years old 
up-to-date Debian testing to a fresh installed Debian testing.

||/ Nom            Version        Description
+++-==============-==============-============================================
ii  horde3         3.2.1+debian0- horde web application framework
ii  imp4           4.1.6-1        webmail component for horde framework


I've dumped and import DBs and configuration files. After checking new 
options from the configuration interfaces, all modules (GOLLEM, INGO, 
IMP, KRONOLITH, MNEMO, NAG, TURBA) work fine except that, when I 
display certain email list,  I get:

Warning: Attempt to assign property of non-object in 
/usr/share/horde3/lib/Horde/MIME.php on line 391
Warning: Attempt to assign property of non-object in 
/usr/share/horde3/lib/Horde/MIME.php on line 391
Warning: Attempt to assign property of non-object in 
/usr/share/horde3/lib/Horde/MIME.php on line 391
Warning: Attempt to assign property of non-object in 
/usr/share/horde3/lib/Horde/MIME.php on line 391
Warning: Attempt to assign property of non-object in 
/usr/share/horde3/lib/Horde/MIME.php on line 647
Warning: Attempt to assign property of non-object in 
/usr/share/horde3/lib/Horde/MIME.php on line 647
Warning: Attempt to assign property of non-object in 
/usr/share/horde3/lib/Horde/MIME.php on line 647
Warning: Attempt to assign property of non-object in 
/usr/share/horde3/lib/Horde/MIME.php on line 647

It appear that the email address or the subject contain some accented 
(from French) such as:

Subject: [Fwd: Profils architecte =?ISO-8859-1?Q?d=27int=E9rieur=5D?=

How can I get rid off those annoying warning? Thanks,

Best regards,

       Laurent