-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No email notifications for printer classes #4733
Comments
CUPS.org User: twaugh.redhat Attached: a git-format patch to ignore dest for job subscriptions. |
CUPS.org User: mike Fixed in Subversion repository. Instead of not setting the destination (which breaks IPP conformance), I've changed the cupsdAddEvent function to match either the destination or the job. |
"0001-Don-t-store-dest-for-job-subscriptions-STR-4733.patch": From a143c1f65265b2d33ef0b208be0d0173ef2ed129 Mon Sep 17 00:00:00 2001 Signed-off-by: Tim Waugh [email protected]scheduler/ipp.c | 11 +++++++++-- diff --git a/scheduler/ipp.c b/scheduler/ipp.c
/*
2.4.3 |
"str4733.patch": Index: scheduler/subscriptions.c--- scheduler/subscriptions.c (revision 12973)
|
Version: 2.1-current
CUPS.org User: twaugh.redhat
When using the "lp -m" option to get email notifications for jobs printed to classes, no notifications are sent.
The root cause is that the job subscription created as a result of the notify-recipient-uri IPP attribute sets the dest (in cupsdAddSubscription) to that of the class, whereas the event generated on job completion comes from the printer in the class.
RFC 3995 §5.3.3.5.2 seems to allow disregarding the printer involved in per-job subscriptions.
The text was updated successfully, but these errors were encountered: