MasonX-Maypole - Re: getting started (cont)

Posted on Thu Feb 10 21:13:02 2005 by mreece in response to 84 (See the whole thread of 15)
Re: getting started (cont)
commenting out the BeerDB::Style->untaint_columns

and changing the comp_root like to
BeerDB->config->masonx->{comp_root} = [ [ factory => '/Public/maypole' ] ];
gets past that error, but i am wandering so far from the sample package that i fear some underlying thing is still broken or misconfigured.

curiously, only BeerDB::Brewery->untaint_columns works, as though the class loader is not creating classes for BeerDB::Style or BeerDB::Beer. if i comment out the untaint_columns calls for those classes, i get a warning about "Couldn't understand the second object you were talking about at" in the relationships($_) loop, and ultimately get a " A poorly configured Maypole application" page showing "List by beer", "List by brewery", etc, but all of those lead to errors
error: could not find component for path 'beerdb/beer/list' context: 1: <& $request->template, %ARGS &> 2: code stack: /Public/maypole/dhandler:1 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm:136 /Public/maypole/autohandler:4 /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm:136
Direct Responses: 86 | Write a response