You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, but what's your suggestion to handle things if a template for a skin is missing? May be the render_page hook should be moved up (before exception error is thrown)? If I can't hook I have to implement a filestat to check whether or not a plugin template is present. What's better?
A side note: The reason I've raised this ticket is: Look at compose_newwindow plugin. It failes with an 501 Error when clicking 'compose' within task addressbook in case the database search query fails. With the suggested hook I would be able to handle this exception.
Write your code to prevent from such cases. Missing template is a critical error that should not happen and if happens there's not much need in handling it.
Reported by rosali on 3 Nov 2012 07:43 UTC as Trac ticket #1488787
rcube_template.php around line 427 (RC 0.8.2):
Please add a hook before throwing the error to give plugin programmers the chance to handle this exception themselves.
Thanks!
Migrated-From: http://trac.roundcube.net/ticket/1488787
The text was updated successfully, but these errors were encountered: