Display issue in grid mode after grid toggle
Description
Environment
Attachments
Activity

Ken Longnan February 16, 2020 at 1:04 PMEdited
Hi ,
I just tested again with below steps, it seems the issue still can be reproduced.
Create one new SO and one new order line.
Then in order line grid window, move slider to the end of right, then move back to left.
Repeat step2 several times. Then some columns are missing.
Please refer to the attached picture for detail.
BR,
Ken

Diego Ruiz February 10, 2020 at 6:03 PM
Hi ,
Attached you can find the patch that solves the case reported for your peer review.
Best Regards,
Diego Ruiz

Ken Longnan February 10, 2020 at 2:25 PM
Hi , The Case 5 is exactly the steps as same as I did for testing.
BR,
Ken

Diego Ruiz February 10, 2020 at 2:00 PM
Thank you for testing,
For all cases before the patch ->
Expected result:
Record is updated after action and all columns are visible to the user
Actual result:
Record is updated but some columns to the left are lost.
My patch solves these 3 cases:
Case 1:
Steps to reproduce:
Open a window
Change to grid view
Move the horizontal slider to the right until some columns are not visible anymore.
Change a value in a field
Click on the Save Button
Move the horizontal slider to the left
Observe that there are some columns missing
Case 2:
Steps to reproduce:
Open a window
Change to grid view
Move the horizontal slider to the right until some columns are not visible anymore.
Change a value in a field
Click on the Undo Button
Observe that the window is refreshed and some columns are missing
Case 3:
Steps to reproduce:
Open a window
Change to grid view
Move the horizontal slider to the right until some columns are not visible anymore.
Click on the New Button
Observe that a new row is created, the window is refreshed and some columns are missing
Case 4:
Steps to reproduce:
Open a window
Change to grid view
Move the horizontal slider to the right until some columns are not visible anymore.
Click on the "Copy Record" Button
Observe that a new row is created, the window is refreshed and some columns are missing
Case 4:
Steps to reproduce:
Open a window
Change to grid view
Move the horizontal slider to the right until some columns are not visible anymore.
Click on the "Refresh" Button
Observe that the window is refreshed and some columns are missing
All the cases above were tested and are fixed.
I just found a new case that I didn't see before and I guess that's the one you are testing.
Case 5:
Steps to reproduce:
Open a window
Switch to grid view
Move the horizontal slider to the right until some columns are not visible anymore.
Switch back to form view
Update any field
Save the record
Switch to Grid Mode again
Observe that the window is refreshed and some columns are missing
, is there any other case that you are testing and fails? If you are following different steps please let me know which ones.
Best Regards,
Diego Ruiz

Ken Longnan February 10, 2020 at 1:42 PM
Hi
Retest again in http://test.idempiere.org/webui (updated with your fixing yet?), but the issue still can be reproduced just right now.
Could you have double check please?
BR,
Ken
Details
Assignee
Diego RuizDiego RuizReporter
Ken LongnanKen LongnanPriority
Major
Details
Details
Assignee

Reporter

Tested in http://test.idempiere.org/webui
How to reproduce.
1. Open Window 'Toolbar Button' (default is form mode)
2. Change something, and save.
3. Switch to grid mode (grid toggle), and move slide bar to right
4. Switch to form mode, change something again, and save
5. Switch to grid model, and some columns in left are missing in grid