[
https://issues.apache.org/jira/browse/OFBIZ-4528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141813#comment-14141813 ]
Arun Patidar commented on OFBIZ-4528:
-------------------------------------
Steps to reproduce and test:
1. Set 'showOutOfStockProducts' flag in ProductStore entity to 'N'
2. Make some products of any category 'Out Of Stock' by reducing inventory and set it to zero
Test case for ecommerce store:
1. Go to ecommerce
http://localhost:8080/ecommerce/control/main2. Browse products by clicking 'Categories' from left nav
3. Observe the counts of pagination and actual products display
Test case for ordermgr:
1. Go to ordermgr -> Order Entry (
https://localhost:8443/ordermgr/control/orderentry)
2. On 'Add To Order' page of sales order creation page
3. Select products to add by selecting 'Browse Categories' from left nav.
4. Observe the counts of pagination and actual products display
Expected Result: Pagination count and number of products display should be same
> Out of stock products screw up the pagination during category browsing
> ----------------------------------------------------------------------
>
> Key: OFBIZ-4528
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4528> Project: OFBiz
> Issue Type: Bug
> Components: order, specialpurpose/ecommerce
> Affects Versions: Release Branch 11.04, Trunk
> Reporter: Kiran Gawde
>
> Pagination is handled in getProductCategoryAndLimitedMembers
> Then the out of stock filtering is done in CategoryDetail.groovy.
> Hence the pagination is screwed up. Certain pages might show less records or no records based upon data condition.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)