Bug 141664 - Off by one error in ListDisplay
Off by one error in ListDisplay
Status: CLOSED CURRENTRELEASE
Product: Red Hat Network
Classification: Red Hat
Component: RHN/R&D (Show other bugs)
RHN Devel
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jesus M. Rodriguez
Red Hat Satellite QA List
:
Depends On:
Blocks: rhnMilestone1
  Show dependency treegraph
 
Reported: 2004-12-02 14:48 EST by Michael Bowman
Modified: 2007-04-18 13:16 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-12-02 21:24:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Michael Bowman 2004-12-02 14:48:41 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

Description of problem:
I have my page size preference set to 10.
The page displays 11 items, but says 1-10 of 10



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. go to systemsadmined.jsp
2.
3.
    

Additional info:
Comment 1 Jesus M. Rodriguez 2004-12-02 21:24:57 EST
Checks to see if the object was added to the DataResult before
attempting to add it.

    // bug 141664: ensure we don't add duplicates to the list.
    if (!dr.contains(obj)) {
        dr.add(obj);
    }

Note You need to log in before you can comment on or make changes to this bug.