Skip Menu |
 

This queue is for tickets about the Catalyst-View-TT CPAN distribution.

Report information
The Basics
Id: 122900
Status: new
Priority: 0/
Queue: Catalyst-View-TT

People
Owner: Nobody in particular
Requestors: GHENRY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.44
Fixed in: (no value)



Subject: Catalyst::Plugin::ConfigLoader with Config::General example
Download (untitled) / with headers
text/plain 482b
This errors: # MyApp_local.conf (Config::General format) <View Web> WRAPPER "custom_wrapper" INCLUDE_PATH __path_to('root/templates/custom_site')__ INCLUDE_PATH __path_to('root/templates')__ </View> Seems to need no quotes as it's taken as a literal path: INCLUDE_PATH __path_to(root/templates/custom_site)__ Correct behaviour? Docs patch or fix in Catalyst::Plugin::ConfigLoader: https://metacpan.org/pod/Catalyst::Plugin::ConfigLoader#config_substitutions(-$value-)
Download (untitled) / with headers
text/plain 674b
Looks like docs patch as example in Loader is: __path_to(foo/bar)__ - replaced with $c->path_to('foo/bar') On Fri Aug 25 17:13:04 2017, GHENRY wrote: Show quoted text
> This errors: > > # MyApp_local.conf (Config::General format) > > <View Web> > WRAPPER "custom_wrapper" > INCLUDE_PATH __path_to('root/templates/custom_site')__ > INCLUDE_PATH __path_to('root/templates')__ > </View> > > Seems to need no quotes as it's taken as a literal path: > > INCLUDE_PATH __path_to(root/templates/custom_site)__ > > Correct behaviour? Docs patch or fix in > Catalyst::Plugin::ConfigLoader: > > https://metacpan.org/pod/Catalyst::Plugin::ConfigLoader#config_substitutions(- > $value-)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.