This project is archived and is in readonly mode.
ActionView::Template extension processing bug
Reported by Dominique Brezinski | March 23rd, 2009 @ 06:24 PM | in 2.x
The simple case of the bug is that templates with file names of
*.erb.*
take precedence over *.erb
. I
found this issue by applying a a diff with patch, and the old
version of the template (.erb.orig) was being processed instead of
the new one (.erb).
Another odd case is that templates with names like foo.erb_old will cause ActionView to fail to load a template even if foo.erb exists in the same directory.
Comments and changes to this ticket
-
thedarkone March 24th, 2009 @ 12:27 AM
- Assigned user set to josh
Does the attached patch fix the issue?
This should also close #2284.
-
Repository March 24th, 2009 @ 03:54 PM
- State changed from new to resolved
(from [6a1267a0b12560a752ebfb443194de1a0ab3bef5]) Fix template extension parsing. [#2315 state:resolved] [#2284 state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
-
Repository March 24th, 2009 @ 03:54 PM
(from [ae9f258e03c9fd5088da12c1c6cd216cc89a01f7]) Fix template extension parsing. [#2315 state:resolved] [#2284 state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 2284 ActionView::Template doesn't support multipart formats with locale I rewrote extension parsing in #2315. Mateusz, your issue...
- 2315 ActionView::Template extension processing bug (from [6a1267a0b12560a752ebfb443194de1a0ab3bef5]) Fix tem...
- 2284 ActionView::Template doesn't support multipart formats with locale (from [6a1267a0b12560a752ebfb443194de1a0ab3bef5]) Fix tem...
- 2315 ActionView::Template extension processing bug (from [ae9f258e03c9fd5088da12c1c6cd216cc89a01f7]) Fix tem...
- 2284 ActionView::Template doesn't support multipart formats with locale (from [ae9f258e03c9fd5088da12c1c6cd216cc89a01f7]) Fix tem...