Bug 151411

Summary: Article author name mangled if containing parentheses
Product: [Applications] akregator Reporter: Stefan Radermacher <kde>
Component: feed parserAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Fixes the aforementioned bug
Second version of the patch
Second version of the patch

Description Stefan Radermacher 2007-10-27 00:58:31 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.2 
OS:                Linux

If the name of an author of an article contains parentheses, Akregator mangles the name as follows: for example, if the name is "John Doe (President)", Akregator only writes "President" into its database. This works correctly if the name contains an email address as in "John Doe <john@doe.org>", but in a case like the one mentioned above, Akregator should preserve the full name.
Comment 1 Stefan Radermacher 2007-10-27 00:59:51 UTC
Created attachment 21918 [details]
Fixes the aforementioned bug
Comment 2 Stefan Radermacher 2007-10-27 11:17:04 UTC
Created attachment 21920 [details]
Second version of the patch

Old patch still mangled a name in the format "john@doe.com (John Doe)" to
"(John Doe)". This is now also converted correctly.
Comment 3 Stefan Radermacher 2007-10-27 11:32:28 UTC
Created attachment 21921 [details]
Second version of the patch

Old patch still mangled a name in the format "john@doe.com (John Doe)" to
"(John Doe)". This is now also converted correctly.
Comment 4 Frank Osterfeld 2007-10-27 12:27:11 UTC
SVN commit 729903 by osterfeld:

backport from trunk: Handle "Foo (Bar) <foo@bar.com>" and "Foo (Bar)" correctly
Patch by Stefan Radermacher
CCBUG: 151411


 M  +7 -3      tools_p.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=729903
Comment 5 Frank Osterfeld 2008-02-03 23:34:11 UTC
Applied and fixed, thanks!