Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 7642
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: SIMONFLK [...] cpan.org
Requestors: dhoworth [...] mrc-lmb.cam.ac.uk
Cc:
AdminCc:

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



Subject: maypole fails with obscure error if database can't be opened
If the user doesn't have permission for the database, Maypole dies with an obscure error message sometime later. For example, using CGI::Maypole and the standard BeerDB example: Can't locate object method "untaint_columns" via package Show quoted text
> "BeerDB::Brewery" (perhaps you forgot to load "BeerDB::Brewery"?)
Hi Dave, With Maypole 2.05 (to be released) and Class::DBI::Loader, I get this error if the database can't be opened: unable to open database: t/beerdb.db at /usr/local/share/perl/5.6.1/Class/DBI/Loader.pm line 13 I've not tested this on Maypole 1.7, and am not sure at what point since then the error was improved. Simon