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 711685 - Check calendar email as an organizer
Check calendar email as an organizer
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2013-11-08 14:10 UTC by Alberto Ruiz
Modified: 2013-11-20 20:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (2.48 KB, patch)
2013-11-20 20:24 UTC, Milan Crha
committed Details | Review

Description Alberto Ruiz 2013-11-08 14:10:37 UTC
I have an email account that I use with an alias, therefore, events with my other email as the organizer are not editable.

At least CalDAV accounts have an email address field that should be honoured, and my suggestion is that any other calendar account should allow the user to specify which email account should be used in those events as calendar accounts might not necessarily map to an email account.
Comment 1 Matthew Barnes 2013-11-08 14:24:22 UTC
A combo box of mail accounts would be better than a free-form email address field.  Just need to copy and paste EMailIdentityComboBox and make a few tweaks to produce a EMailAccountComboBox widget.

Migrating settings such that we don't break existing CalDAV calendars will be the tricky part, though.
Comment 2 Milan Crha 2013-11-11 08:39:57 UTC
(In reply to comment #1)
> A combo box of mail accounts would be better than a free-form email address
> field.

No, it would not. The calendar can have setup its own address, unrelated to any mail account filled in evolution itself, thus this "pick one you already told us you have" would break it. Also because this is what fails on Alberto's side, he has setup a mail account with an alias address, but his calendar uses the main address, which is not written anywhere in evolution (otherwise he would be recognized as an organizer), or vice versa.

The most the combo would be used as a hint, aka for easier completion, but for nothing else, still allowing to write anything in the calendar properties.
Comment 3 Milan Crha 2013-11-20 20:24:36 UTC
Created attachment 260385 [details] [review]
evo patch

for evolution;

There was some odd logic how to deal with calendar emails, which I fixed in this patch, thus if the event is in a calendar whose email address matches organizer's email, the event is recognized as organizer's.

With respect of adding an option for other calendars to define their email, it's not a big problem, it's just that the affected calendars are basically none. The third party Exchange connectors (MAPI and EWS) should use email for the account they are associated with. CalDAV calendar has the option already. The only left writeable calendar is the file calendar (On This Computer). Does the option worth it there at all?
Comment 4 Milan Crha 2013-11-20 20:28:28 UTC
Created commit 93bff56 in evo master (3.11.3+)
Created commit 8ce7cb8 in evo gnome-3-10 (3.10.3+)