Bug 805082 - Pager for subscriptions doesn't work properly in sportsclub example
Summary: Pager for subscriptions doesn't work properly in sportsclub example
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Spring, Examples
Version: 2.0.0.ER3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.0.0.ER4
Assignee: Marius Bogoevici
QA Contact: Tomas Repel
URL:
Whiteboard: sportsclub
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-20 14:41 UTC by Tomas Repel
Modified: 2013-03-04 01:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-22 11:11:01 UTC
Type: ---


Attachments (Terms of Use)

Description Tomas Repel 2012-03-20 14:41:53 UTC
Description of problem:

Regardless of what is the current page, the same first five subscriptions are visible.

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

WFK2 Beta1
Sportsclub, all variants, both hibernate and jpa ears
EAP6 Beta

How reproducible:

Always.

Steps to Reproduce:
1. build and deploy sportsclub example
2. go to Sports Club Subscriptions
3. click on Search button
4. try to use pager
  
Actual results:

Every page contains the same subset of first five subscriptions.

Expected results:

The another five subscriptions should appear in the list on page two, another two remaining subscriptions on page three.

Additional info:

The problem is probably with the 'dirty' property of AccountSearch class. I think that this property should be set to 'true' every time current page is changed, so the new subset of subscriptions can be loaded in walk method.

Comment 1 Marius Bogoevici 2012-04-12 22:15:18 UTC
Fixed

Comment 4 Tomas Repel 2012-04-19 14:45:16 UTC
Verified in WFK2 ER4

Comment 5 Karel Piwko 2012-06-22 11:11:01 UTC
These example related issues are fixed in WFK 2.0.0. Documenting them as fixed issues is not required.


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