Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-CHI CPAN distribution.

Report information
The Basics
Id: 40000
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-CHI

People
Owner: Nobody in particular
Requestors: hylinux [...] gmail.com
Cc:
AdminCc:

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



Subject: is it a bug on Driver File class?
Date: Mon, 13 Oct 2008 13:48:12 +0800
To: bug-CGI-Application-Plugin-CHI [...] rt.cpan.org
From: "黄叶" <hylinux [...] gmail.com>
Hi, I found in document have this example: package My::WebApp; use strict; use warnings; use base 'CGI::Application'; use CGI::Application::Plugin::CHI; __PACKAGE__->cache_config( { driver => 'File', cache_root => '/path/to/nowhere' } ); but when I use this "cache_config" method, for driver "File", the cache_root will not effect. I check the document about the CHI, I think that parameter is "root_dir". is it a bug? thanks Mike.G
Subject: Re: [rt.cpan.org #40000] is it a bug on Driver File class?
Date: Mon, 13 Oct 2008 10:53:13 -0400
To: bug-CGI-Application-Plugin-CHI [...] rt.cpan.org
From: "Mike Friedman" <friedo [...] friedo.com>
It looks like the docs for CHI::Driver::File specify root_dir, but the example in CHI uses cache_root. I think the latter may be obsolete (it's what I based the docs for CGI::Application::Plugin::CHI on.) I'll do some testing and upload a new version with fixed docs. Thanks for the report. Mike On Mon, Oct 13, 2008 at 1:48 AM, 黄叶 via RT <bug-CGI-Application-Plugin-CHI@rt.cpan.org> wrote: Show quoted text
> Mon Oct 13 01:48:29 2008: Request 40000 was acted upon. > Transaction: Ticket created by hylinux@gmail.com > Queue: CGI-Application-Plugin-CHI > Subject: is it a bug on Driver File class? > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: hylinux@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40000 > > > > Hi, I found in document have this example: > > package My::WebApp; > > use strict; > use warnings; > > use base 'CGI::Application'; > > use CGI::Application::Plugin::CHI; > > __PACKAGE__->cache_config( { driver => 'File', cache_root => > '/path/to/nowhere' } ); > > > > but when I use this "cache_config" method, for driver "File", > the cache_root will not effect. > > I check the document about the CHI, > > I think that parameter is "root_dir". > > is it a bug? > > thanks > > Mike.G > >
Fixed in v.0.02.