Bug 1376623 - hidden rows in datatables are deleted on form submission
Summary: hidden rows in datatables are deleted on form submission
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: User Interface
Version: 5.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent vote
Target Milestone: 5.0
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-16 00:23 UTC by Jeff Fearn 🐞
Modified: 2018-12-09 06:29 UTC (History)
3 users (show)

Fixed In Version: 5.0.3-rh8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-12 10:59:58 UTC


Attachments (Terms of Use)

Description Jeff Fearn 🐞 2016-09-16 00:23:25 UTC
Description of problem:
When a field is hidden in a database table and a form is submitted, any rows hidden, due to pagination or filtering, are deleted.

Version-Release number of selected component (if applicable):
5.0

How reproducible:
Always

Steps to Reproduce:
1. Go to any page where datatables is being used in a form
2. filter table so some rows are hidden
3. change something and click submit

Actual results:
Hidden rows are deleted

Expected results:
Hidden rows are treated as normal.

Additional info:
Edit users is a good example, the group permissions are paginated, adding a user to a new group and clicking submit removes them from any non-visible group.

Comment 1 Rony Gong 🔥 2016-10-09 02:28:57 UTC
Tested on QA environment(5.0.3-rh8)
Result: Failed
Steps:
1. Go to edituser page where datatables is being used in a form(eg: bmeng)
2. filter table so some rows are hidden
3. change something and click submit
==>Hidden rows are deleted

Comment 2 Rony Gong 🔥 2016-10-12 08:48:24 UTC
Tested on QA environment(5.0.3-rh9)
Result: Pass
Steps:
1. Go to edituser page where datatables is being used in a form(eg: bmeng)
2. filter table so some rows are hidden
3. change something and click submit
==>Hidden rows not deleted.


Note You need to log in before you can comment on or make changes to this bug.