Bug 996668

Summary: web interface for 'add printer' does not populate location automatically
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-18 16:20:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Woodhouse 2013-08-13 16:17:48 UTC
My discovery back end gives location information for the printers it discovers.

When I add a printer through the web interface (assuming it works fast enough that bug 996664 doesn't bite me), the location is empty.

You can reproduce this with a backend script like the one in bug 996661:


#!/bin/sh

cat <<EOF
socket socket://127.0.0.1:9100 "foo1" "bar1" "MDL:HP LaserJet M5035 MFP" "left"
socket socket://127.0.0.2:9100 "foo2" "bar2" "MDL:HP LaserJet M5035 MFP" "right"
EOF

When you add one of these 'discovered' printers, the word 'left' or 'right' ought to end up in the Location box. But it doesn't.

Comment 1 Tim Waugh 2013-12-18 16:20:02 UTC
Reported upstream:
  https://www.cups.org/str.php?U4316