Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82538 - packages.gentoo.org: Fencepost error in generation of [Next] page link
Summary: packages.gentoo.org: Fencepost error in generation of [Next] page link
Status: RESOLVED DUPLICATE of bug 33847
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: [OLD] gpackages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Albert Hopkins (RETIRED)
URL: http://packages.gentoo.org/search/?ss...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 00:32 UTC by Jason Bucata
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Bucata 2005-02-19 00:32:17 UTC
I encountered this in real life while doing a search on packages.gentoo.org for "dns".  The database has changed (two packages added) since then to make this not fail like it used to, so I frobbed the URL as noted above.

When the last page of results is full, containing 20 results, but no more results are available to be displayed (the next page would display 0 results), it displays a [Next] link to offset=42.  Going there makes it complain that it couldn't find an ebuild to match my query.

What it *should* do is omit creating the [Next] link to that page in the first place.  It shouldn't assume that, just because this page is full, the next page will have at least one result--there's a 5% chance that it won't.
Comment 1 Albert Hopkins (RETIRED) gentoo-dev 2005-02-26 10:51:22 UTC

*** This bug has been marked as a duplicate of 33847 ***