Package: otrs2
Version: 2.2.1-1
Severity: normal
Tags: patch

Hi!

inline pgp signing fails because there is the MainObject missing in the call of
Crypt->new() in Kernel/System/Email.pm (for both calls)

Reported to upstream, too: http://bugs.otrs.org/show_bug.cgi?id=2094

Greetings,
Max

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages otrs2 depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  apache2                     2.2.3-4      Next generation, scalable, extenda
ii  apache2-mpm-prefork [apache 2.2.3-4      Traditional model for Apache HTTPD
ii  dbconfig-common             1.8.29+etch1 common framework for packaging dat
ii  debconf                     1.5.11       Debian configuration management sy
ii  libapache2-mod-perl2        2.0.2-2.4    Integration of perl with the Apach
ii  libauthen-sasl-perl         2.10-1       Authen::SASL - SASL Authentication
ii  libcrypt-passwdmd5-perl     1.3-8        interoperable MD5-based crypt() fo
ii  libdate-pcalc-perl          1.2-2        Perl module for Gregorian calendar
ii  libdbi-perl                 1.53-1       Perl5 database interface by Tim Bu
ii  libemail-valid-perl         0.179-1      Check validity of Internet email a
ii  libio-stringy-perl          2.110-2      Perl5 modules for IO from scalars 
ii  libmailtools-perl           1.74-1       Manipulate email in perl programs
ii  libmime-perl                5.420-0.1    Perl5 modules for MIME-compliant m
ii  libtext-diff-perl           0.35-2       Perform diffs on files and record 
ii  libxml-parser-perl          2.34-4.2     Perl module for parsing XML files
ii  perl                        5.8.8-7      Larry Wall's Practical Extraction 
ii  ucf                         2.0020       Update Configuration File: preserv

Versions of packages otrs2 recommends:
ii  aspell                     0.60.4-4      GNU Aspell spell-checker
ii  libdbd-mysql-perl          3.0008-1      A Perl5 database interface to the 
ii  libgd-graph-perl           1.43.08-2.1   Graph Plotting Module for Perl 5
ii  libgd-text-perl            0.86-3.1      Text utilities for use with GD
ii  mysql-server               5.0.32-7etch1 mysql database server (meta packag
ii  mysql-server-5.0 [mysql-se 5.0.32-7etch1 mysql database server binaries
pn  procmail | maildrop        <none>        (no description available)

-- debconf information excluded
--- Kernel/System/Email.pm.orig 2007-07-25 08:26:23.000000000 +0200
+++ Kernel/System/Email.pm      2007-07-24 23:09:48.000000000 +0200
@@ -182,6 +182,7 @@
             LogObject => $Self->{LogObject},
             DBObject => $Self->{DBObject},
             ConfigObject => $Self->{ConfigObject},
+            MainObject => $Self->{MainObject},
             CryptType => $Param{Sign}->{Type},
         );
         if (!$CryptObject) {
@@ -202,6 +203,7 @@
             LogObject => $Self->{LogObject},
             DBObject => $Self->{DBObject},
             ConfigObject => $Self->{ConfigObject},
+            MainObject => $Self->{MainObject},
             CryptType => $Param{Crypt}->{Type},
         );
         if (!$CryptObject) {

Reply via email to