Package: libmasonx-request-withapachesession-perl
Version: 0.30-1
Severity: normal


The recent upgrade introduced a dependency on libapache-session-wrapper-perl.
After I upgraded my application (netdisco) using MasonX crashed with the 
following error:

[Fri Apr  1 15:54:03 2005] [error] The 'param_object' parameter 
("Apache=SCALAR(0x82ffec8)") to Apache::Session::Wrapper->new() does not have 
the method: 'param'\n\nStack:\n  
[/usr/share/perl5/HTML/Mason/ApacheHandler.pm:881]\n  
[/usr/share/perl5/HTML/Mason/ApacheHandler.pm:790]\n  
[/usr/local/netdisco/netdisco_apache.conf:53]\n  [/dev/null:0]\n

I think libapache-session-wrapper-perl is not properly integrated in
libmasonx-request-withapachesession-perl. But I am not shure.

The application uses the following code:

{ package netdisco::Mason; 
    use HTML::Mason;
    use HTML::Mason::ApacheHandler;
    use strict;

    my $ah = new HTML::Mason::ApacheHandler(
        args_method            => 'CGI',
        comp_root              => '/usr/local/netdisco/html',
        data_dir               => '/usr/local/netdisco/mason',
        request_class          => 'MasonX::Request::WithApacheSession',
        session_class          => 'Apache::Session::Postgres',
        session_commit         => 1,
        session_use_cookie     => 1,
        session_cookie_expires => '+1y',
        session_cookie_name    => 'netdisco',
#!! Change the following lines to match your Database Configuration.
        session_data_source    => 'dbi:Pg:dbname=netdisco',
        session_user_name      => 'netdisco',
        session_password       => 'xxxxxxxx',
                                           );
    sub handler {
        my $request = shift;
        return $ah->handle_request($request);
    }
}

Christoph


-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (99, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libmasonx-request-withapachesession-perl depends on:
ii  libapache-request-perl        1.1-0.1    Generic Apache Request Library
ii  libapache-session-perl        1.60-2     Perl modules for keeping persisten
ii  libhtml-mason-perl            1:1.26-1   HTML::Mason Perl module
ii  perl [perl5]                  5.8.4-8    Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to