You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
selecting "Maintenance" from the dropdown list results in Error #3345
In the printer screen on the web GUI when selecting an item from the Maintenance dropdown list(like Print Test Page) and then using the browser back button attempting to select "Maintenance" from the drop down list results in an error page
Error:
Unknown operation ""!
no errors are recorded in the error_log, the error log for this operation is attached.
This bug came up when I had the need to send multiple test pages, the dropdown list makes it harder to resend the "Print Test Page" command repeatedly.
Activity
michaelrsweet commentedon Oct 2, 2009
CUPS.org User: mike
What browser are you using?
michaelrsweet commentedon Oct 2, 2009
CUPS.org User: nassarmu
Tested on Firefox 3.0.13 and 3.5.3. Also tested on Konqueror 4.1.3.
michaelrsweet commentedon Dec 8, 2009
CUPS.org User: mike
OK, the Javascript needs to not submit if the first item is chosen.
michaelrsweet commentedon Jan 11, 2011
CUPS.org User: mike
Fixed in Subversion repository.
michaelrsweet commentedon Jan 11, 2011
"str3345.patch":
Index: cgi-bin/printers.c
--- cgi-bin/printers.c (revision 9461)
+++ cgi-bin/printers.c (working copy)
@@ -1,9 +1,9 @@
/*
*
*
@@ -148,7 +148,21 @@
}
else if (printer)
{
do_printer_op(http, printer, IPP_RESUME_PRINTER,
cgiText(_("Resume Printer")));
else if (!strcmp(op, "stop-printer"))
do_set_allowed_users(http);
else if (!strcmp(op, "set-as-default"))
do_set_default(http);
Index: cgi-bin/classes.c
===================================================================
--- cgi-bin/classes.c (revision 9461)
+++ cgi-bin/classes.c (working copy)
@@ -1,9 +1,9 @@
/*
*
*
@@ -147,7 +147,21 @@
}
else if (pclass)
{
do_class_op(http, pclass, IPP_RESUME_PRINTER, cgiText(("Resume Class")));
else if (!strcmp(op, "stop-class"))
do_class_op(http, pclass, IPP_PAUSE_PRINTER, cgiText(("Pause Class")));