Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Jemplate CPAN distribution.

Report information
The Basics
Id: 37813
Status: resolved
Priority: 0/
Queue: Jemplate

People
Owner: rkrimen [...] cpan.org
Requestors: itegebo [...] berkeley.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.21
Fixed in: (no value)



Subject: Jemplate::runtime_source_code() breaks compatibility in versions >= 0.21
This change breaks at least one consumer module, Catalyst::View::Jemplate. See bug #35609. It appears that the bin/runtime script is assuming the standard runtime and so I wonder if it makes sense for Jemplate::runtime_source_code to do the same. I'm also updating bug #35609 with the recommendation that they use the new API.
From: itegebo [...] berkeley.edu
On Sun Jul 20 16:07:32 2008, ITEGEBO wrote: Show quoted text
> This change breaks at least one consumer module, > Catalyst::View::Jemplate. See bug #35609. > > It appears that the bin/runtime script is assuming the standard runtime > and so I wonder if it makes sense for Jemplate::runtime_source_code to > do the same. I'm also updating bug #35609 with the recommendation that > they use the new API.
It appears 'runtime_source_code()' is not supposed to be public, but it's also probably worth mentioned that Catalyst::View::Jemplate broke not just because of the need to pass in 'standard' as an arg, but also because it began _printing_ the output rather than returning it.
This is basically fixed: runtime_source_code now returns the source instead of printing It also now assumes "standard" if no arguments are given I've attached a development version with these fixes that you can use Thanks for the report...
Download Jemplate-0.24_1.tar.gz
application/gzip 225.8k

Message body not shown because it is not plain text.