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 438613 - improve "permission denied" error message in calendar/addressbook
improve "permission denied" error message in calendar/addressbook
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.12.x (obsolete)
Other Linux
: Normal trivial
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
aklapper[errormessages]
: 438809 (view as bug list)
Depends on:
Blocks: 502515
 
 
Reported: 2007-05-15 14:46 UTC by André Klapper
Modified: 2012-02-08 11:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed evo patch (3.79 KB, patch)
2008-03-11 16:38 UTC, Milan Crha
committed Details | Review

Description André Klapper 2007-05-15 14:46:03 UTC
http://svn.gnome.org/viewcvs/evolution/trunk/addressbook/gui/widgets/eab-gui-util.c?revision=33432

/* E_BOOK_ERROR_PERMISSION_DENIED */  N_("Permission denied"),

when i reopen an appointment and change the calendar source to some read-only calendar (B&A), i get that error message.
it's a stupid error message that does not help anybody - what did i do wrong? why? at least tell me that it is a read-only calendar.
related to bug 329594.
Comment 1 André Klapper 2007-05-15 14:50:14 UTC
the patch in bug 329594, linking to the quoted error ID could be nice here:

 <error id="prompt-read-only-cal" type="error" default="GTK_RESPONSE_YES">
  <_primary>Cannot create a new event</_primary>
  <_secondary>You have a read-only calendar source selected. Change to Calendar View and highlight a calendar that can accept appointments.</_secondary>
  <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/>
 </error>
Comment 2 Milan Crha 2007-06-26 15:19:34 UTC
The message itself isn't so smart here either, because of that little advice: "Change to Calendar View and highlight a calendar that can accept appointments.", you know, you are in an appointment editing dialog.
Comment 3 Milan Crha 2007-06-26 15:37:14 UTC
Patch Attachment #90668 [details] to Bug #329594 solves this issue as well, maybe only if Andre wants to change that message as I mentioned in previous comment... :)
Comment 4 Matthew Barnes 2008-03-11 00:36:27 UTC
Bumping version to a stable release.
Comment 5 Milan Crha 2008-03-11 10:23:15 UTC
Andre ping.
Comment 6 André Klapper 2008-03-11 11:54:36 UTC
milan pong.
Comment 7 Milan Crha 2008-03-11 16:38:23 UTC
Created attachment 107071 [details] [review]
proposed evo patch

for evolution;

Added one message to calendar to distinguish between read-only state recognized from editor and from UI itself. In address book change a bit "Permission Denied" text for a bit more verbose. i checked and that is not possible to call delete on the read-only contact, thus should be fine. If you've better idea what to write there, then I'm for it.
Comment 8 Srinivasa Ragavan 2008-03-27 08:38:18 UTC
Seems fine to me. Commit to trunk.
Comment 9 Milan Crha 2008-03-27 10:38:57 UTC
Committed to trunk. Committed revision 35260.
Comment 10 André Klapper 2012-02-08 11:51:04 UTC
*** Bug 438809 has been marked as a duplicate of this bug. ***