Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 18192
Status: rejected
Priority: 0/
Queue: Maypole

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

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



Subject: bug or feature, look for template if no table accessible
Below is output from error log when a table, phone_number, is not "ok" to access. Maypole then looks for a template following the path. "phone_number/view/10". I always forget this so i am noting it here. Not sure if this is a bug or feature yet. We don't have that table (phone_number). Available tables are: customer at /usr/local/share/perl/5.8.4/Maypole.pm line 791, <DATA> line 1. TT error for template 'phone_number/view/10' file error - phone_number/view/10: not found at /usr/local/share/perl/5.8.4/Maypole.pm line 647 cheers
On Thu Mar 16 00:08:09 2006, guest wrote: Show quoted text
> Below is output from error log when a table, phone_number, is not "ok" > to access. Maypole then looks for a template following the path. > "phone_number/view/10". I always forget this so i am noting it here. > Not sure if this is a bug or feature yet. > > We don't have that table (phone_number). > Available tables are: customer at /usr/local/share/perl/5.8.4/Maypole.pm > line 791, <DATA> line 1. > > TT error for template 'phone_number/view/10' > file error - phone_number/view/10: not found at > /usr/local/share/perl/5.8.4/Maypole.pm line 647 >
Feature! Very handy for stuff like /css/foo.css or /javascript/some.js or if you decide to pre-build some static content and put it in a directory and access it as if it were being pulled from the db.
Subject: Re: [rt.cpan.org #18192] bug or feature, look for template if no table accessible
Date: Tue, 25 Apr 2006 16:36:29 -0500
To: bug-Maypole [...] rt.cpan.org
From: "Peter Speltz" <peterspeltz [...] gmail.com>
Show quoted text
> Feature! > > Very handy for stuff like /css/foo.css or /javascript/some.js > > or if you decide to pre-build some static content and put it in a > directory and access it as if it were being pulled from the db. > >
Cool. I think i can get to like it How does it mesh with the authentication though? Worst case is I guess you would just need to add a custom case in the authenticate sub. No big deal there. -- pjs
bug rejected