After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 514836 - Importing contact lists into a attendee lists for a meeting broken
Importing contact lists into a attendee lists for a meeting broken
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
2.22.x (obsolete)
Other All
: Normal major
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-02-06 19:01 UTC by David Ronis
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
proposed eds patch (6.69 KB, patch)
2008-02-14 12:16 UTC, Milan Crha
committed Details | Review
proposed evo patch (1.70 KB, patch)
2008-02-14 12:17 UTC, Milan Crha
committed Details | Review
proposed eex patch (1.73 KB, patch)
2008-02-14 12:17 UTC, Milan Crha
committed Details | Review
New screenshot of brokien attendee list (81.47 KB, image/png)
2008-02-25 18:55 UTC, David Ronis
  Details

Description David Ronis 2008-02-06 19:01:24 UTC
Please describe the problem:
I have a contact list for a committee I run with entries of the form:

John Doe,Mr. <email@somewhere.org>

I can use the contact list in regular email, but when I use it in the attendee list I get double the expected number of entries; i.e., for my example

John Doe

and

Mr. <email@somewhere.org>

Clearly something isn't being parsed correctly.

Steps to reproduce:
1. Calendar->New->Meeting
2. In the gui, Attendees->Contact Lists (select a contact list with the form above). Notice that everything looks ok at this point
3. Save
4. Reopen the meeting.


Actual results:


Expected results:


Does this happen every time?
yes

Other information:
I'm running a patched e-d-s, patched by Milan Crha to deal with a problem with creating contact lists with entries obtained from a GAL.   See BUG 489043 for details.
Comment 1 André Klapper 2008-02-07 09:45:00 UTC
John Doe,Mr. <email@somewhere.org>
        is not a valid email address. try
"John Doe,Mr. <email@somewhere.org>"
        and report back, please.
Comment 2 David Ronis 2008-02-07 16:09:27 UTC
Hi Andre,

Have a look at BUG 489043.  The contact list in question was created by importing from our GAL.  There has been a bug here and the expression without quotes is what Milan's patch gives.  I don't see how to edit the contact list once it's created, and in any event, I need the GAL to populate the list initially.

As I reported, when I use the contact list in an e-mail, this problem doesn't occur, so the email address can't be "that" invalid.

Have I not understood what you want?

David
Comment 3 Milan Crha 2008-02-14 12:16:15 UTC
Created attachment 105223 [details] [review]
proposed eds patch

for evolution-data-server;

This is what I thought about, obsoleting EVC_X_DEST_EMAIL, EVC_X_DEST_NAME. It just doesn't make sense to have it there. With these patches (yeah, they are 3 now) it works even without the patch from bug #489043 comment #22, but I believe it is still usable.
Comment 4 Milan Crha 2008-02-14 12:17:02 UTC
Created attachment 105225 [details] [review]
proposed evo patch

for evolution;
Comment 5 Milan Crha 2008-02-14 12:17:53 UTC
Created attachment 105226 [details] [review]
proposed eex patch

for evolution-exchange;
Comment 6 David Ronis 2008-02-14 23:06:47 UTC
I applied all 3 patches to 2.21.91.  The problem seems to be fixed.

Thanks Milan!

Comment 7 Srinivasa Ragavan 2008-02-20 05:56:14 UTC
I strongly feel that Ross need to vouch this and bug #489043 . Specially if we want to take it late for 2.21.92
Comment 8 Milan Crha 2008-02-21 15:28:48 UTC
Changing to eds/contacts, because the core change is there.
Comment 9 Ross Burton 2008-02-22 10:26:28 UTC
Milan, I've never really looked at e-destination (it's patched out of eds-dbus!), can you explain the rationale behind the eds patch?
Comment 10 Milan Crha 2008-02-22 10:43:39 UTC
Sure, I can try to explain it.
Basically, I obsoleted EVC_X_DEST_NAME and EVC_X_DEST_EMAIL vCard parameters and instead of them I started to use real attribute values, not the one managed only by Evolution. I believe that this is the right thing, because other software will not change our parameters, but those real values only.
Comment 11 Ross Burton 2008-02-22 11:04:28 UTC
Okay, sounds reasonable.  
Comment 12 Srinivasa Ragavan 2008-02-22 18:18:05 UTC
Thanks Ross for your timely review.

Milan just get this in for 2.21.92.
Comment 13 Milan Crha 2008-02-22 18:49:51 UTC
eds part committed to trunk. Committed revision 8521.
evo part committed to trunk. Committed revision 35072.
eex part committed to trunk. Committed revision 1579.
Comment 14 Milan Crha 2008-02-25 16:51:47 UTC
Just for a record, the eds and eex patches contain bug, see bug #518569 for more details. Thanks Akhil to find this out.
Comment 15 David Ronis 2008-02-25 18:55:34 UTC
Created attachment 105929 [details]
New screenshot of brokien attendee list
Comment 16 David Ronis 2008-02-25 18:56:40 UTC
OK,

I'd manually applied Milan's 3 patches and all seemed well.  Today I tried building 2.21.92.  Have encountered several problems:

1.  GAL is broken again
2.  Get hangs in new mail on entering To: if exchange account is on.
3.  Existing meeting attendee lists (created with Milan's patches in place in 2.21.91) are corrupted.  I've attached a screenshot.

Comment 17 Michael Kopp 2008-02-26 15:26:48 UTC
I can confirm point 3 for build 2.21.92. See bug 518744. Can we reopen this issue?
Comment 18 Milan Crha 2008-02-26 15:53:13 UTC
I would rather keep it on your bug, we are looking what is the issue, seems like something with libical, but I do not want to make quick decisions.