Summary | User-facing notifications shouldn't contain stack traces or talk about exceptions |
Queue | IMP |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | chuck (at) horde (dot) org |
Created | 03/02/2009 (5966 days ago) |
Due | |
Updated | 06/30/2009 (5846 days ago) |
Assigned | 05/22/2009 (5885 days ago) |
Resolved | 06/30/2009 (5846 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
long to use a link, for example).
Exception object directly to the notification stack? I haven't
touched any of them. It's probably easiest to simply pick them off
one-by-one as they are encountered instead.
State ⇒ Assigned
long to use a link, for example).
State ⇒ Resolved
out over the last few months.
codes for notification classes. My "if you really want" was rather
pointing at the fact that we didn't talk about how to deal with
exceptions in the frontend in H4 at all. Pushing them as notifications
might still be the best solution, but since we re-think everything,
someone might come up with a better idea.
And to voice my opinion: I still like notifications, though we might
also need a general handler for uncatched exceptions. Heck, I wrote
that stuff 7 years ago. :-)
PEAR_Errors. If necessary we should refactor Notification instead.
the opposite here:
http://lists.horde.org/archives/dev/Week-of-Mon-20090223/023797.html
I *want* to be able to push Exceptions onto the Notification stack,
but I thought that I had been outvoted re: this issue.
PEAR_Errors. If necessary we should refactor Notification instead.
$notification->push($e)
where $e is an Exception, and replacing with:
$notification->push($e->getMessage() [, $e->getCode]);
State ⇒ Assigned
Patch ⇒ No
Milestone ⇒
Assigned to Michael Slusarz
Queue ⇒ IMP
Summary ⇒ User-facing notifications shouldn't contain stack traces or talk about exceptions
Type ⇒ Bug
Priority ⇒ 1. Low
exception 'Horde_Exception' with message 'This request cannot be
completed because the link you followed or the form you submitted was
only valid for 30 minutes. Please try again now.' in
/var/www/horde/horde-hatchery/imp/lib/IMP.php:138 Stack trace: #0
/var/www/horde/horde-hatchery/imp/compose.php(117):
IMP::checkRequestToken('imp.compose', 'VTpiA2aW_Z5yeLN...')
#1{main}