Bug 527715 - Custom fields are failing in the Administration section
Summary: Custom fields are failing in the Administration section
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 3.4
Hardware: All
OS: All
medium
medium
Target Milestone: ---
Assignee: PnT DevOps Devs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: RHBZ34UpgradeTracker
TreeView+ depends on / blocked
 
Reported: 2009-10-07 13:05 UTC by Noura El hawary
Modified: 2013-06-24 02:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-07 21:11:41 UTC


Attachments (Terms of Use)

Description Noura El hawary 2009-10-07 13:05:42 UTC
in bz-web1

going to the Administration section then the Custom Fields section and trying to edit any of the custom fields produces the error:

undef error - DBD::mysql::db selectall_arrayref failed: Table 'bugs34.target_milestone' doesn't exist [for Statement "SELECT id,value,sortkey,isactive,visibility_value_id FROM target_milestone ORDER BY sortkey, value"] at /var/www/html/bugzilla/Bugzilla/Object.pm line 244 Bugzilla::Object::_do_list_select('Bugzilla::Field::Choice::target_milestone') called at /var/www/html/bugzilla/Bugzilla/Object.pm line 437 Bugzilla::Object::get_all('Bugzilla::Field::Choice::target_milestone') called at /var/www/html/bugzilla/Bugzilla/Field.pm line 510 Bugzilla::Field::legal_values('Bugzilla::Field=HASH(0x2b008d160f30)') called at /var/www/html/bugzilla/template/en/default/admin/custom_fields/cf-js.js.tmpl line 36 eval {...} called at /var/www/html/bugzilla/template/en/default/admin/custom_fields/cf-js.js.tmpl line 36 eval {...} called at /var/www/html/bugzilla/template/en/default/admin/custom_fields/cf-js.js.tmpl line 47 eval {...} called at /var/www/html/bugzilla/template/en/default/admin/custom_fields/cf-js.js.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x2b0078e20c70)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Document.pm line 151 eval {...} called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Document.pm line 149 Template::Document::process('Template::Document=HASH(0x2b008d1c9dc0)', 'Template::Context=HASH(0x2b0078e20c70)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Context.pm line 351 eval {...} called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Context.pm line 321 Template::Context::process('Template::Context=HASH(0x2b0078e20c70)', 'admin/custom_fields/cf-js.js.tmpl', 'undef', 'localize me!') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Context.pm line 409 Template::Context::include('Template::Context=HASH(0x2b0078e20c70)', 'admin/custom_fields/cf-js.js.tmpl') called at /var/www/html/bugzilla/template/en/default/admin/custom_fields/edit.html.tmpl line 27 eval {...} called at /var/www/html/bugzilla/template/en/default/admin/custom_fields/edit.html.tmpl line 18 Template::Provider::__ANON__('Template::Context=HASH(0x2b0078e20c70)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Document.pm line 151 eval {...} called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Document.pm line 149 Template::Document::process('Template::Document=HASH(0x2b008ce2c3c0)', 'Template::Context=HASH(0x2b0078e20c70)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Context.pm line 351 eval {...} called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Context.pm line 321 Template::Context::process('Template::Context=HASH(0x2b0078e20c70)', 'Template::Document=HASH(0x2b008ce2c3c0)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Service.pm line 94 eval {...} called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template/Service.pm line 91 Template::Service::process('Template::Service=HASH(0x2b0078e20960)', 'admin/custom_fields/edit.html.tmpl', 'HASH(0x2b0078df6e90)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Template.pm line 66 Template::process('Bugzilla::Template=HASH(0x2b0078e167b0)', 'admin/custom_fields/edit.html.tmpl', 'HASH(0x2b0078df6e90)') called at /var/www/html/bugzilla/editfields.cgi line 95 ModPerl::ROOT::Bugzilla::ModPerl::ResponseHandler::var_www_html_bugzilla_editfields_2ecgi::handler('Apache2::RequestRec=SCALAR(0x2b00874142e0)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 204 eval {...} called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 204 ModPerl::RegistryCooker::run('Bugzilla::ModPerl::ResponseHandler=HASH(0x2b00874143e0)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('Bugzilla::ModPerl::ResponseHandler=HASH(0x2b00874143e0)') called at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('Bugzilla::ModPerl::ResponseHandler', 'Apache2::RequestRec=SCALAR(0x2b00874142e0)') called at /var/www/html/bugzilla/mod_perl.pl line 105 Bugzilla::ModPerl::ResponseHandler::handler('Bugzilla::ModPerl::ResponseHandler', 'Apache2::RequestRec=SCALAR(0x2b00874142e0)') called at -e line 0 eval {...} called at -e line 0

Comment 1 David Lawrence 2009-10-07 21:11:41 UTC
My fault and fixed now. Target milestone's type was set incorrectly in fielddefs table when I was debugging something and I forgot to set it back to original value.

As a side note, there will be other issues similar to this happening until we can get a successful full run of checksetup.pl on the 3.2 database to convert to 3.4. So when we should definitely get that working which should cut down on some of the errors we are seeing. I am definitely saying we should still report them but then we can go back and verify the issues are fixed once we see that checksetup.pl is going all the way through.

Dave


Note You need to log in before you can comment on or make changes to this bug.