Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283764 - mail-client/balsa doesn't see all addresses in a vcard addressbook
Summary: mail-client/balsa doesn't see all addresses in a vcard addressbook
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://mail.gnome.org/archives/balsa-...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2009-09-05 16:59 UTC by Jack
Modified: 2009-09-14 21:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to regexp used to find email addresses in vcard file (vcard-patch,581 bytes, patch)
2009-09-05 17:01 UTC, Jack
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2009-09-05 16:59:57 UTC
If you point balsa to a vcard addressbook, it doesn't see all the addresses.  It will not see any address with an email line "EMAIL:name@host" but it will find "EMAIL;TYPE=PREF:name@host".  It turns out the regexp they are using is looking for "EMAIL;" and misses addresses without any parameters.  This has been confirmed by upstream on the balsa mailing list.

Reproducible: Always

Steps to Reproduce:
1. point balsa to any vcard address book that contains "EMAIL:name@host"
2. open the address list in balsa

Actual Results:  
addresses from the vcard without any parameters are not shown

Expected Results:  
all email addresses from the vcard file are shown

The developer posted a patch to the balsa list that modifies the regexp.  He has also pushed to the balsa git master, so it will eventually show up upstream.  In the meantime, I will attach tha patch to this bugreport.
Comment 1 Jack 2009-09-05 17:01:52 UTC
Created attachment 203210 [details, diff]
patch to regexp used to find email addresses in vcard file

Patch from upstream via balsa mailing list.
Comment 2 Romain Perier (RETIRED) gentoo-dev 2009-09-05 18:22:56 UTC
Can you paste the upstream link please ?
Comment 3 Jack 2009-09-05 19:12:51 UTC
The patch is attached as Comment #1.  Tha balsa home page is http://pawsa.fedorapeople.org/balsa/, and http://mail.gnome.org/archives/balsa-list/2009-September/msg00012.html is a link to the mailing list message with the patch, and one of his responses in that thread says he's pushed into the source.
  
If you need something else, then I've misunderstood - please clarify what else you need.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-14 21:00:36 UTC
Added to 2.4.1-r1, thanks for reporting.