Package: bugzilla3
Version: 3.4.7.0-1
Severity: important

After installing fresh version of bugzilla it stopped working because
the database was not upgraded to the new schema. The message is:

DBD::mysql::db selectall_arrayref failed: Unknown column 'buglist' in 'field 
list' [for Statement "SELECT 
id,name,description,type,custom,mailhead,sortkey,obsolete,enter_bug,buglist,visibility_field_id,visibility_value_id,value_field_id
 FROM fielddefs WHERE custom = ? AND obsolete = ?  ORDER BY sortkey, name"] at 
/usr/share/perl5/Bugzilla/Object.pm line 238
  Bugzilla::Object::_do_list_select('Bugzilla::Field', 'custom = ? AND obsolete 
= ?', 'ARRAY(0xb317108)', undef) called at /usr/share/perl5/Bugzilla/Object.pm 
line 220
  Bugzilla::Object::match('Bugzilla::Field', 'HASH(0xb1d3be8)') called at 
/usr/share/perl5/Bugzilla/Field.pm line 246
  Bugzilla::Field::match('Bugzilla::Field', 'HASH(0xb1d3be8)') called at 
/usr/share/bugzilla3/Bugzilla.pm line 465
  Bugzilla::active_custom_fields('Bugzilla') called at 
/usr/share/bugzilla3/web/query.cgi line 142
  main::PrefillForm('') called at /usr/share/bugzilla3/web/query.cgi line 182

I'm not sure what the correct behaviour should be -- attempt to upgrade
DB automatically if possible, or display prominent warning to user with
a link to upgrade instructions -- but the current behaviour is hardly
acceptable.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bugzilla3 depends on:
ii  apache2                   2.2.15-5       Apache HTTP Server metapackage
ii  apache2-mpm-worker [httpd 2.2.15-5       Apache HTTP Server - high speed th
ii  dbconfig-common           1.8.46         common framework for packaging dat
ii  debconf                   1.5.33         Debian configuration management sy
ii  exim4                     4.72-1         metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail- 4.72-1         lightweight Exim MTA (v4) daemon
ii  libappconfig-perl         1.56-2         Perl module for configuration file
ii  libcgi-pm-perl            3.49-1         module for Common Gateway Interfac
ii  libdatetime-timezone-perl 1:1.19-1+2010j framework exposing the Olson time 
ii  libdbd-mysql-perl         4.014-1        Perl5 database interface to the My
ii  libemail-mime-perl [libem 1.903-1        module for simple MIME message par
ii  libemail-send-perl        2.198-3        Perl module for simply sending ema
ii  libjs-yui                 2.8.1-1        Yahoo User Interface Library
ii  libmail-sendmail-perl     0.79.16-1      Send email from a perl script
ii  libtemplate-perl          2.22-0.1       template processing system written
ii  libtimedate-perl          1.2000-1       collection of modules to manipulat
ii  mysql-client-5.1 [mysql-c 5.1.48-1       MySQL database client binaries
ii  patch                     2.6-2          Apply a diff file to an original
ii  perl-modules [libcgi-pm-p 5.10.1-13      Core Perl modules
ii  ucf                       3.0025         Update Configuration File: preserv

Versions of packages bugzilla3 recommends:
pn  cvs                          <none>      (no description available)
ii  imagemagick                  7:6.6.0.4-2 image manipulation programs
pn  libchart-perl                <none>      (no description available)
pn  libtemplate-plugin-gd-perl   <none>      (no description available)
ii  libxml-parser-perl           2.36-1.1+b1 Perl module for parsing XML files
ii  mysql-server-5.1 [mysql-serv 5.1.48-1    MySQL database server binaries and
pn  perlmagick                   <none>      (no description available)

Versions of packages bugzilla3 suggests:
ii  bugzilla3-doc                 3.4.7.0-1  comprehensive guide to Bugzilla
ii  graphviz                      2.26.3-5   rich set of graph drawing tools
pn  libauthen-radius-perl         <none>     (no description available)
pn  libgd-gd2-perl | libgd-noxpm- <none>     (no description available)
pn  libgd-graph-perl              <none>     (no description available)
pn  libgd-text-perl               <none>     (no description available)
ii  libhtml-parser-perl           3.66-1     collection of modules that parse H
pn  libhtml-scrubber-perl         <none>     (no description available)
pn  libmailtools-perl             <none>     (no description available)
pn  libmime-tools-perl            <none>     (no description available)
pn  libnet-ldap-perl              <none>     (no description available)
pn  libsoap-lite-perl             <none>     (no description available)
ii  libwww-perl                   5.836-1    Perl HTTP/WWW client/server librar
pn  libxml-twig-perl              <none>     (no description available)
pn  patchutils                    <none>     (no description available)
ii  python                        2.6.5-5    An interactive high-level object-o
ii  python-support                1.0.9      automated rebuilding support for P
ii  ruby                          4.5        An interpreter of object-oriented 

-- debconf information:
  bugzilla3/customized_values: true
  bugzilla3/customized_values_ask_again: false
  bugzilla3/database-type: mysql
  bugzilla3/remove-error: abort
* bugzilla3/dbconfig-remove:
* bugzilla3/dbconfig-install: true
  bugzilla3/internal/reconfiguring: false
  bugzilla3/remote/newhost:
  bugzilla3/internal/skip-preseed: false
  bugzilla3/remote/host:
* bugzilla3/install-error: ignore
  bugzilla3/upgrade-backup: true
  bugzilla3/db/dbname: bugzilla3
  bugzilla3/missing-db-package-error: abort
  bugzilla3/passwords-do-not-match:
  bugzilla3/mysql/admin-user: root
  bugzilla3/upgrade-error: abort
  bugzilla3/db/app-user: bugzilla3
  bugzilla3/dbconfig-reinstall: false
  bugzilla3/mysql/method: unix socket
* bugzilla3/bugzilla_admin_real_name: Roman Cheplyaka
  bugzilla3/remote/port:
* bugzilla3/bugzilla_admin_name: r...@ro-che.info
  bugzilla3/dbconfig-upgrade: true
  bugzilla3/purge: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to