Bug setting an error_layout()
Reported by Fabrice Luraine | July 30th, 2009 @ 04:29 PM | in Release 0.4 - Fresh Mint And Ginger
When setting a user_layout, the default error renderers still search the layout in the limonade default views directory (option('limonade_views_dir')) instead of the user views directory.
When setting a user error layout for the first time with error_layout(), we need to check a flag somewhere to informe default error views that they need to use the user views directory (option('views_dir')). Perhaps by setting an option('error_views_dir') ?
Before solving that bug, you can still fix the problement by setting your own error renders (not_found and server_error functions)
Comments and changes to this ticket
-
Fabrice Luraine July 30th, 2009 @ 04:29 PM
- Title changed from Bug setting a error_layout() to Bug setting an error_layout()
-
Fabrice Luraine July 31st, 2009 @ 06:44 PM
- State changed from new to resolved
(from [0accd644d2cd1e1e20699885f996d15764e77cf7]) Fixing bug setting an error_layout [#18 state:resolved] http://github.com/sofadesign/limonade/commit/0accd644d2cd1e1e206998...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Limonade is a PHP micro-framework.
People watching this ticket
Referenced by
- 20 halt() not sending expected results when using HTTP_UNAUTHORIZED This is probably the same bug as described in ticket #18
- 18 Bug setting an error_layout() (from [0accd644d2cd1e1e20699885f996d15764e77cf7]) Fixing ...
- 20 halt() not sending expected results when using HTTP_UNAUTHORIZED i've relaesed the 0.4.1 version of Limonade. It fixes man...