[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason
Subject:    [Mason] Apache2/Mod_perl2 Problem with $m->make_subrequest
From:       "Vitor" <vsmori () uol ! com ! br>
Date:       2004-12-10 4:16:06
Message-ID: AMEDLMDHNKJMHECBMAILKEJKCJAA.vsmori () uol ! com ! br
[Download RAW message or body]

Folks,

I'm using make_subrequest method of Mason Request Object ($r) but i am
getting the following error :

System error
error: The following parameter was passed in the call to
MasonX::Request::WithApache2Session->new() but was not listed in the
validation options: tid
context:
...
37: # in the return value. This lets the creator be totally ignorant of
38: # the creation parameters of any objects it creates.
39:
40: use Params::Validate qw(:all);
41: Params::Validate::validation_options( on_fail => sub { die @_ } );
42:
43: my %VALID_PARAMS = ();
44: my %CONTAINED_OBJECTS = ();
45: my %VALID_CACHE = ();
...
code stack: /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:41
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:53
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:146
/usr/lib/perl5/site_perl/5.8.0/MasonX/Request2.pm:37
/usr/lib/perl5/site_perl/5.8.0/MasonX/Apache2Handler.pm:77
/usr/lib/perl5/site_perl/5.8.0/MasonX/Request/WithApache2Session.pm:299
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:422
/opt/data/test/mason_components/autohandler:127
/opt/data/test/mason_components/base:14

The trick is that i am passing different arguments from the original request
(it is an subrequest, it should allow me to do this).

I give an first look an you code, and i was not able to found what was
happening.

Do you guess if this is Apache2/ModPerl2 problem or Mason problem?

Regards,

Vitor



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic