Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006974Openbravo ERPB. User interfacepublic2008-12-11 10:102009-02-20 09:39
joan 
shuehner 
normalmajoralways
closedfixed 
30Debian Etch
2.40 
2.40MP3 
Core
No
0006974: Selection problem on grid in several/all selectors
When 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.
With 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
Copy the behaivor of Product grid on Master Data management
No tags attached.
blocks defect 0006478 closed shuehner Selection problem on grid in several/all selectors 
Issue History
2009-01-19 10:23iperdomoTypedefect => backport
2009-01-19 10:23iperdomofix_in_branch => 2.40
2009-01-22 19:19svnbotCheckin
2009-01-22 19:19svnbotNote Added: 0012540
2009-01-22 19:19svnbotsvn_revision => 12167
2009-02-03 17:08iperdomoAssigned Toiperdomo => shuehner
2009-02-05 16:13svnbotCheckin
2009-02-05 16:13svnbotNote Added: 0013190
2009-02-05 16:13svnbotStatusscheduled => resolved
2009-02-05 16:13svnbotResolutionopen => fixed
2009-02-05 16:13svnbotsvn_revision12167 => 12839
2009-02-05 18:57svnbotCheckin
2009-02-05 18:57svnbotNote Added: 0013205
2009-02-05 18:57svnbotsvn_revision12839 => 12862
2009-02-20 09:39sureshbabuRegression testing => No
2009-02-20 09:39sureshbabuStatusresolved => closed
2009-02-20 09:39sureshbabuNote Added: 0013800
2009-02-20 09:39sureshbabuFixed in Version => trunk

Notes
(0012540)
svnbot   
2009-01-22 19:19   
Repository: openbravo
Revision: 12167
Author: iperdomo
Date: 2009-01-22 19:19:38 +0100 (Thu, 22 Jan 2009)

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

---
U branches/r2.40/src/org/openbravo/erpCommon/utility/DataGrid.java
U branches/r2.40/src/org/openbravo/erpCommon/utility/SQLReturnObject.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=12167&sc=1 [^]
(0013190)
svnbot   
2009-02-05 16:13   
Repository: openbravo
Revision: 12839
Author: huehner
Date: 2009-02-05 16:13:30 +0100 (Thu, 05 Feb 2009)

Fixed 6974
- 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 branches/r2.40/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
U branches/r2.40/src/org/openbravo/erpCommon/info/ProductMultiple.java
U branches/r2.40/web/js/openbravo/widget/DataGrid.js
---

https://dev.openbravo.com/websvn/openbravo/?rev=12839&sc=1 [^]
(0013205)
svnbot   
2009-02-05 18:57   
Repository: openbravo
Revision: 12862
Author: huehner
Date: 2009-02-05 18:57:15 +0100 (Thu, 05 Feb 2009)

Issue 6974
Remvoe debugging output which slipped in in r12839

---
U branches/r2.40/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
U branches/r2.40/src/org/openbravo/erpCommon/info/ProductMultiple.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=12862&sc=1 [^]
(0013800)
sureshbabu   
2009-02-20 09:39   
Retested in context 79.125.56.185/openbravotrunk