Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006478
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajoralways2008-12-11 10:102009-02-20 09:28
ReporterjoanView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision12864
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.5.0_14-b03
OS VersionDebian EtchDatabase version8.3Ant version1.6.5
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006478: Selection problem on grid in several/all selectors

DescriptionWhen i try to select on a grid all the rows, i need to go page by page selecting fields and I can't do it all with one single step.

The problem is I need to select 2000 products to show the stock for instance, and when I try to select all but i have problems.

This is the procedure i try to use. First I go to the first line of the grid, i mark it, then I go with the bar to the last field of the grid and I press Shift and I press the last row. I expect to see all the rows selected, but it doesn't work, it does nothing. But if i need to select just a few of the rows, like just ten, then I do the same and it works. For instance I press the first, I press the shift and then I press the fifth and all five rows are selected. Also I expect the same behaivour that it happens on product grid or bpartner grid in master data management

A workaround when they are just two or three pages of products is select the first, select the last of this page, then go one page down just until there is just the last one i've marked plus the ones I want to add to the selection and then keep pressing the shift and press the last of this page, and continue doing that until I reach to the last page and then I've selected all the rows, but this is not logic and useful when we are talking about more than 10 pages of articles or more.

I've reproduced that error on stock grid and probably on more. I think to work this propertly the last selected row must be on a session var or anything.
Steps To ReproduceWith Role Normal User or admin user
1 Go to Warehouse management
2 Analysis Tools
3 Stock report
4 Press The + Button
5 Select the first row
6 Press the Shift button of keyboard
7 Select the last row
Not all the rows between get selected
Proposed SolutionCopy the behaivor of Product grid on Master Data management
Tagsperformance2.40scrum
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0006727 closedgorka_gil Selection problem on grid in generated windows. 
depends on backport 0006974 closedshuehner Selection problem on grid in several/all selectors 
related to defect 0007372 closedshuehner Selecting multiple rows spanning several pages in the grid of a generated windows does select wrong rows. 

-  Notes
(0011661)
shuehner (administrator)
2008-12-22 14:55

Verified the selection behavior in the Business Partner multiple selector and the Product grid.
The behavior is broken in both windows as specified in this issue. Selection records from multiple pages in one selection is not possible in one action.
(0011711)
shuehner (administrator)
2008-12-23 20:03

Clarified: In the Multiple selector the behavior is as specified. the normal generated grid views fail when trying to use the same flow with a different error.
(0011713)
shuehner (administrator)
2008-12-23 20:19

Additional info: This bug seems to be present in all selectors. Can be checked by testing the same flow in any selector (in the Information menu-folder)
(0012394)
iperdomo (reporter)
2009-01-20 14:58

The problem is in the backend. The request from DataGrid.js seems to be good, but since were are always limiting the result to pageSize x 3 (for performance), the list of Ids returned gets messed up.
(0012546)
svnbot (reporter)
2009-01-22 20:06

Repository: openbravo
Revision: 12171
Author: iperdomo
Date: 2009-01-22 20:06:12 +0100 (Thu, 22 Jan 2009)

Fixes selecting multiple rows on multiple pages on generated windows. Related to issue 6478

---
U trunk/src/org/openbravo/erpCommon/utility/DataGrid.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=12171&sc=1 [^]
(0013206)
svnbot (reporter)
2009-02-05 19:00

Repository: openbravo
Revision: 12864
Author: huehner
Date: 2009-02-05 19:00:40 +0100 (Thu, 05 Feb 2009)

Fixed 6478
- Implement missing code for allowing multi-page selection of
  multiple records in the business partner multiple and product
  multiple selectors.
- Fix use before defination of a js-var triggered by this changes.

---
U trunk/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
U trunk/src/org/openbravo/erpCommon/info/ProductMultiple.java
U trunk/web/js/openbravo/widget/DataGrid.js
---

https://dev.openbravo.com/websvn/openbravo/?rev=12864&sc=1 [^]
(0013795)
sureshbabu (reporter)
2009-02-20 09:28

Retested in context 79.125.56.185/openbravotrunk

- Issue History
Date Modified Username Field Change
2008-12-11 10:10 joan New Issue
2008-12-11 10:10 joan Assigned To => rafaroda
2008-12-11 10:10 joan sf_bug_id 0 => 2416327
2008-12-18 11:34 rafaroda Assigned To rafaroda => shuehner
2008-12-18 11:34 rafaroda Status new => acknowledged
2008-12-18 11:34 rafaroda Tag Attached: performance2.40scrum
2008-12-22 14:55 shuehner Note Added: 0011661
2008-12-23 20:03 shuehner Note Added: 0011711
2008-12-23 20:19 shuehner Note Added: 0011713
2008-12-23 20:22 shuehner Summary Selection problem on grid => Selection problem on grid in several/all selectors
2008-12-23 20:26 shuehner Relationship added related to 0006727
2008-12-23 20:26 shuehner Assigned To shuehner => gorka_gil
2009-01-07 18:22 gorka_gil Assigned To gorka_gil => iperdomo
2009-01-19 10:23 iperdomo Status acknowledged => scheduled
2009-01-19 10:23 iperdomo fix_in_branch => trunk
2009-01-20 14:58 iperdomo Note Added: 0012394
2009-01-22 20:06 svnbot Checkin
2009-01-22 20:06 svnbot Note Added: 0012546
2009-01-22 20:06 svnbot svn_revision => 12171
2009-02-03 17:07 iperdomo Assigned To iperdomo => shuehner
2009-02-04 17:38 shuehner Relationship added related to 0007372
2009-02-05 19:00 svnbot Checkin
2009-02-05 19:00 svnbot Note Added: 0013206
2009-02-05 19:00 svnbot Status scheduled => resolved
2009-02-05 19:00 svnbot Resolution open => fixed
2009-02-05 19:00 svnbot svn_revision 12171 => 12864
2009-02-20 09:28 sureshbabu Regression testing => No
2009-02-20 09:28 sureshbabu Status resolved => closed
2009-02-20 09:28 sureshbabu Note Added: 0013795
2009-02-20 09:28 sureshbabu Fixed in Version => trunk


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker