Red Hat Bugzilla – Bug 805105
Pager for reservations doesn't work properly in sporsclub example
Last modified: 2013-03-03 20:00:18 EST
Description of problem:
If there are six reservations and user deletes one, then creates one, the pager still behaves as if there were only five reservations.
Version-Release number of selected component (if applicable):
Sportsclub, all variants, both hibernate and jpa ears
Steps to Reproduce:
1. build and deploy sportsclub example
2. go to Sports Club Reservations
3. click on Search button
4. click on page two
5. only one reservation should appear, delete it
6. click on Create button
7. create and save reservation
8. click on Search button
The pager is disabled.
There should be clickable button for page two where the newly added reservation should be displayed.
I think 'resetCurrentCount' and 'getRowCount' methods of AbstractExtendedDataModelHelper' should be called somewhere inside ReservationSearch class, so the pager will work with the proper value.
Verified in WFK2 ER4
These example related issues are fixed in WFK 2.0.0. Documenting them as fixed issues is not required.