This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 96948

Summary: Page is not reset to 1 on category/sorting change
Product: updatecenters Reporter: Jiri Kovalsky <jkovalsky>
Component: PluginportalAssignee: David Botterill <dbotterill>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jiri Kovalsky 2007-03-01 14:43:17 UTC
Description:
============
Switching between categories by clicking tag clouds or changing sorting does not
reset page to 1 but leaves the last value. I consider this strange behavior.

Steps to reproduce:
===================
1. Click "Task List" tag cloud in the right pane.
2. Change "Page:" number to 2 and hit Enter.
3. Once the view is refreshed click "Tools" tag cloud.
4. Scroll down the page to find out that you see plugins from the 2nd page of
Tools category instead of the 1st page.
Comment 1 Todd Fast 2007-03-13 05:04:24 UTC
Raising priority to P1 because it is not apparent to the user when clicking
between categories that he is seeing a partial list. I made this mistake several
times myself until I revisited a category I'd been looking at before and noticed
there were fewer items. Having pagination be sticky when clicking between
different categories is completely unexpected; there is no precedent for it (in
fact, the precedent is exactly the opposite).
Comment 2 David Botterill 2007-03-19 06:20:52 UTC
This was a nasty side affect of using a dataprovider at the sessionbean level. 
I had to reset the tablerowgroup.page each time the category changes.