Details
Description
Submitting a form on a Screen with larger list leads to double DB entries if pagination (next) is used.
From the cookbook it is known that pagination is automatically added if viewSize and viewIndex is set. Using this "auto pagination" functionalities next button after submitting passes the submit parameters to the next call aswell.
Following steps do reproduce the problem:
- open up http://demo-stable-ofbiz.apache.org/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalog&VIEW_SIZE_1=20&VIEW_INDEX_1=1
- Take default element numbers per page (20)
- Add a Category (and submit)
- Check DB for added entry
- Hit Next page link
- Check DB again for entry (there will be twice the same)
Attachments
Attachments
Issue Links
- relates to
-
OFBIZ-5634 Error in pagination in createProductSubscriptionResource (Catalog)
- Closed
-
OFBIZ-2330 Main task for securing URLs in Freemarker templates files
- Closed