Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318907 - www-apps/bugzilla-3.6: software error when creating a new bugzilla component via webfrontend with emtpy field 'default CC List'
Summary: www-apps/bugzilla-3.6: software error when creating a new bugzilla component ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 19:58 UTC by W Reverey
Modified: 2011-06-17 10:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description W Reverey 2010-05-07 19:58:04 UTC
WHEN
  creating a new component in bugzilla via webfrontend 
  AND
  the field  'default CC List' is empty
THEN
  error message 

------%<-------
Software error:

Undef to trick_taint at Bugzilla/Util.pm line 64
	Bugzilla::Util::trick_taint('undef') called at Bugzilla/User.pm line 1702
	Bugzilla::User::login_to_id('undef', 1) called at Bugzilla/Component.pm line 248
	Bugzilla::Component::_check_cc_list('Bugzilla::Component', 'ARRAY(0x906d7d8)', 'initial_cc') called at Bugzilla/Object.pm line 451
	Bugzilla::Object::run_create_validators('Bugzilla::Component', 'HASH(0x9382ba4)') called at Bugzilla/Component.pm line 134
	Bugzilla::Component::run_create_validators('Bugzilla::Component', 'HASH(0x9382ba4)') called at Bugzilla/Component.pm line 116
	Bugzilla::Component::create('Bugzilla::Component', 'HASH(0x9382ba4)') called at /var/www/ticket.reverey.de/htdocs/editcomponents.cgi line 132
------>%-------


is shown.


Reproducible: Always

Steps to Reproduce:
1. log in to (local) bugzilla installation as admin
2. go to "create component", fill in form but leave field "default CC list" empty
3. press "add" button

Actual Results:  
error Message 

------%<-------
Software error:

Undef to trick_taint at Bugzilla/Util.pm line 64
	Bugzilla::Util::trick_taint('undef') called at Bugzilla/User.pm line 1702
	Bugzilla::User::login_to_id('undef', 1) called at Bugzilla/Component.pm line 248
	Bugzilla::Component::_check_cc_list('Bugzilla::Component', 'ARRAY(0x906d7d8)', 'initial_cc') called at Bugzilla/Object.pm line 451
	Bugzilla::Object::run_create_validators('Bugzilla::Component', 'HASH(0x9382ba4)') called at Bugzilla/Component.pm line 134
	Bugzilla::Component::run_create_validators('Bugzilla::Component', 'HASH(0x9382ba4)') called at Bugzilla/Component.pm line 116
	Bugzilla::Component::create('Bugzilla::Component', 'HASH(0x9382ba4)') called at /var/www/ticket.reverey.de/htdocs/editcomponents.cgi line 132
------>%-------

is shown.

Expected Results:  
WEATHER
  an defined error message as e.g. "A default cc list entry is required for this component."
OR
  application should accept an empty cc list field

1. my bugzilla runs with www-servers/lighttpd=1.4.26-r1
2. emerge --info:

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.10.1-r1, 2.6.25-gentoo-r8-wr-kvmu i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r8-wr-kvmu-i686-QEMU_Virtual_CPU_version_0.12.3-with-gentoo-1.12.13
Timestamp of tree: Sat, 01 May 2010 01:15:02 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.wheel.sk/"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://portage-rsync.mch.reverey.lokal/gentoo-portage"
USE="acl acpi bash-completion berkdb bzip2 cgi cli cracklib crypt cups cxx dri fastcgi fortran gd gdbm iconv imagemagick ipv6 jpeg modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php png pppd python readline reflection screen session spl sqlite ssl sysfs tcpd tiff udev unicode vhosts webdav x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-05-12 07:13:59 UTC
I can't reproduce it here.

Did you upgrade to bugzilla-3.6? Did you follow the upgrade instructions on <http://www.bugzilla.org/docs/3.6/en/html/upgrade.html>?
Does sanitycheck report a problem?
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2010-05-12 07:19:58 UTC
See also URL
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2011-06-17 10:47:45 UTC
Closing this bug report as no further information has been provided. Please reopen this bug if you can provide the information asked for.
Thanks!