Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 339349

Summary: net-print/cups-1.4.4 admin app doesn't modify printers properly in dialog
Product: Gentoo Linux Reporter: Jeff Hubbs <jeffrey.hubbs>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://cups.org/str.php?L3601
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeff Hubbs 2010-10-01 13:18:19 UTC
In CUPS 1.4.4's admin app, when modifying a printer that is using a make of "Generic" and a model of "Generic Postscript Printer," the "Select Another Make/Manufacturer" button takes you back to selection of makes but you wind up with only the "Generic" model list and not the model list of whatever make you just picked.  Looks like you'd have to delete the printer and add a new one to actually effect a make/model change.

Reproducible: Always

Steps to Reproduce:
1. Create a new printer using "Generic"/"Generic Postscript Printer"
2. Under the "Printers" tab, select the printer you just created from the list
3. Under the "Administration" drop-down, select "Modify Printer"
4. Accept the current connection; click "Continue"
5. Accept the description, etc.; click "Continue"
6. Click on "Select Another Make/Manufacturer"
7. Select another make from the list (e.g., "HP"); click "Continue"

Actual Results:  
The list of models for the Generic make appears

Expected Results:  
The list of models for the make selected in Step 7 should appear.

This is observed on a sparc arch, but because this is a web app logic/flow issue I have no cause to suspect this is the least bit sparc-specific.

cla-prodtape01 ~ # emerge --info
Portage 2.1.8.3 (default/linux/sparc/10.0/server, gcc-4.4.3, glibc-2.11.2-r0, 2.6.28-gentoo-r5 sparc64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-sparc64-sun4u-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 30 Sep 2010 01:45:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.2-r7, 2.6.2-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc3 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.0.100"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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://192.168.0.100/gentoo-portage"
USE="acl ads apache2 bacula-console bacula-split-init berkdb bzip2 cli cracklib crypt cups cxx dri dvd foomaticdb fortran gcc64 gdbm gpm iconv kerberos ldap modules mudflap ncurses nfsv3 nfsv4 nls nptl nptlonly openmp pam pcre perl postgres pppd python readline reflection samba session snmp sparc ssl static-ppds sysfs tcpd truetype unicode winbind xml xorg zlib" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 	suncg6 sunffb sunleo tdfx 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, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Timo Gurr (RETIRED) gentoo-dev 2011-01-04 13:17:59 UTC
Huge thanks for such a detailed and helpful bugreport to ease reproducing your issue. This was indeed a bug in CUPS itself which has been resolved upstream for CUPS 1.4.5.