Bug 805082

Summary: Pager for subscriptions doesn't work properly in sportsclub example
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Tomas Repel <trepel>
Component: Spring, ExamplesAssignee: Marius Bogoevici <mariusb>
Status: CLOSED NEXTRELEASE QA Contact: Tomas Repel <trepel>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0.0.ER3CC: kpiwko, mnovotny, rruss
Target Milestone: ---   
Target Release: 2.0.0.ER4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sportsclub
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-22 11:11:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.