"Kulpinski, Dejan" schrieb:

> Here is another minor bug in the latest code from CVS (10:00am pacific time).

What you found is not a minor bug. It is one of our biggest problems.
Therefore I changed it in shortly before the release of 0.9.0.

> When I have more certificates then MaxReturnedItems the Extra References don't seem 
>to work correctly. It seems that clicking on ">" increases the viewFrom parameter by 
>one, and not by (MaxReturnedItems + 1). It is also possible to go over the boundaries 
>and end up with an empty list.

I do this because there are often scrollbars which do this but if you
think this is more a bug than a feature then I can remove it.

We go actually over the boundaries because we build the references
before we build the rest of the table. The problem is that there are
gaps in our lists of serials.

> In addition, Extra references don't seem to work at all for CSRs (software simply 
>ignores the MaxReturnedItems and returns ALL items).

This is a real bug.
 
> In addition, I am not sure the approach of using viewFrom will work in long term, 
>because if for example you revoke some certificates and then you go to view the list 
>of valid certificates you will have gaps in the list that will throw off your 
>viewFrom calculation.

This is not a problem because these gaps are already present and we
produce such lists by for-loops and $db->getNext.
 
Summary:

1. We should detect the end.

2. We should jump at minimum to last + 1.

Any other comments?

Michael
-- 
-------------------------------------------------------------------
Michael Bell                   Email (private): [EMAIL PROTECTED]
Rechenzentrum - Datacenter     Email:  [EMAIL PROTECTED]
Humboldt-University of Berlin  Tel.: +49 (0)30-2093 2482
Unter den Linden 6             Fax:  +49 (0)30-2093 2959
10099 Berlin
Germany                                       http://www.openca.org


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to