[jira] [Comment Edited] (OFBIZ-6547) Screen with pagination on tables lead to multiple db entries when submitting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-6547) Screen with pagination on tables lead to multiple db entries when submitting

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641491#comment-14641491 ]

Jacques Le Roux edited comment on OFBIZ-6547 at 7/25/15 10:04 AM:
------------------------------------------------------------------

Jinghai, you need to put in the "Fix Version/s" field the "upcoming branch" and unreleased version but not trunk and release branches. This information is used in our releases changelogs. Thanks again for you help!


was (Author: jacques.le.roux):
Jinghai, you need to put in "Fix Version/s" fields trunk and unreleased version but not release branches. This information is used in our releases changelogs. Thanks again for you help!

> Screen with pagination on tables  lead to multiple db entries when submitting
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-6547
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6547
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk, 13.07.01
>            Reporter: Akif Dinc
>            Assignee: Shi Jinghai
>            Priority: Minor
>             Fix For: 14.12.01, 12.04.06, 13.07.03, Upcoming Branch
>
>         Attachments: DataToReproduceOFBIZ-6547.xml, OFBIZ-6547.patch
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)