Skip Menu |

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

Report information
The Basics
Id: 70481
Status: open
Priority: 0/
Queue: Catalyst-View-Mason2

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

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



Subject: Component Path Ignores Global config->root
The default component path is hard coded to "MyApp/root/comps". I think it should use the global root config value if no comp_root is specified (as was the case for C:V:Mason). For example, with the following config file, C:V:Mason2 looks for components in "./root/comps". Most views would look for them in "./share". MyApp.conf: root: __path_to(share)__ <view> <Mason2> </Mason2> </view> Thanks, Mark
Subject: Re: [rt.cpan.org #70481] Component Path Ignores Global config->root
Date: Sun, 6 Nov 2011 20:50:04 -0800
To: bug-Catalyst-View-Mason2 [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
Hi Mark - thanks for the comment and sorry for the delay. If you could provide a patch I'd most likely accept and release it. I don't use Catalyst so my familiarity wanes... Thanks Jon On Aug 25, 2011, at 5:50 AM, Mark Grimes via RT wrote: Show quoted text
> Thu Aug 25 08:50:11 2011: Request 70481 was acted upon. > Transaction: Ticket created by MGRIMES > Queue: Catalyst-View-Mason2 > Subject: Component Path Ignores Global config->root > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: mgrimes@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=70481 > > > > The default component path is hard coded to "MyApp/root/comps". I think it should use the > global root config value if no comp_root is specified (as was the case for C:V:Mason). > > For example, with the following config file, C:V:Mason2 looks for components in > "./root/comps". Most views would look for them in "./share". > > MyApp.conf: > root: __path_to(share)__ > <view> > <Mason2> > </Mason2> > </view> > > Thanks, > Mark >