[cups-devel] [UNKN] STR #4396: IPP-Get-Jobs result is not sorted correctly

MATHON Vincent noreply at cups.org
Wed Apr 2 03:21:01 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

According to RFC2911 p56 IPP-Get-Jobs should returned jobs in the following
order:

      - If the client requests all 'completed' Jobs (Jobs in the
        'completed', 'aborted', or 'canceled' states), then the Jobs are
        returned newest to oldest (with respect to actual completion
        time)
      - If the client requests all 'not-completed' Jobs (Jobs in the
        'pending', 'processing', 'pending-held', and 'processing-
        stopped' states), then Jobs are returned in relative
        chronological order of expected time to complete (based on
        whatever scheduling algorithm is configured for the Printer
        object).

This is not the case with Cups 1.4 version and probably with all versions
since the problem has never been reported before. This becomes a blocker
when you want to limit the number of results of IPP-Get-Jobs and you
quickly have to do so when you have more than a few dozen of jobs (see STR
#3819 and STR #2913). STR #4326 seems to be related but not really,
actually, I think STR #4326 is a consequence of this issue.

Link: https://www.cups.org/str.php?L4396
Version: 1.4-current
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJTO+SNAAoJENujp6sI12IjK8UQAJCOFBwh68VIJtEylD/4BRt0
lb8exwGd76y+k+N33gV8XEGN5e9dil2/j/ymNGvU1p0YyO17iBJyeFK3g9YIG7pK
Fu0FHOKYfSRf1hljpbGrNrFlTrQR3fFNqSVWjEIblJaGnyQu3v3HtqMYUEiOPEHl
C0aA27xsQArbG35P/lB5kEk9PslzU16qFmQeJ28Sjj/z72nG9/cVTSgTaWXcIiaz
KWbRDKGwnaL3OvyZKFqRn20RqXD6WmQniMfv2toOhp4UySbk7ftTbObn95jnKbBR
XSE0obA5nI91bCWYHU7YiyuZnKx/PPnHYVE7GcrOtZAXGmzlOlAHCR+0xKxqywIj
pdkxy0Q0gRkxL3fIMGDfekzyARO6a4FDBnuoWF+oz9rZWgSdgm58zHuxkvfuE3r2
KG5PIZ6TLEwYgjnqtv5p7GbJTudm1vpgyjz1UhSaD8A/rNoLixiyzfpAT20lWcpm
K69y14x3UlGaqRC6Oo49p4dO78spz0/r+S9n48GFlukYcypHnkPhl8geFlJZkP9W
B19yn/XSw0bWsG4c+D5TiRD5WZ8XIwz2KsL9QKLg/JW1NIE4FqRLcZCux3BkbKUl
jNdz/NIXsFQfwpckhDhfpFtK+myiFxCEIYIYFDYHlKzWLn/puDIUMFfTcj8+kaAe
si3zIC2e6/LcOMRd2BWt
=Kdm0
-----END PGP SIGNATURE-----




More information about the cups mailing list