Bug 141664

Summary: Off by one error in ListDisplay
Product: Red Hat Network Reporter: Michael Bowman <mbowman>
Component: RHN/R&DAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satellite-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: RHN Devel   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-03 02:24:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 125080    

Description Michael Bowman 2004-12-02 19:48:41 UTC
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-03 02:24:57 UTC
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);
    }