Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012981Openbravo ERPA. Platformpublic2010-04-14 17:552010-06-18 00:00
networkb 
shuehner 
highminorrandom
closedfixed 
5
2.50MP13 
2.50MP19 
OBPS
Core
No
0012981: The partner selector multiple does not work properly with a big amount of data
The partner selector multiple does not work properly with a big amount of data.
For example with more than 1000 partners, if you try to select all the partners,
select the first and the last pressing the shift key, sometimes all the partners are not select.
-Go to Financial management>accounting>analisys tools>General ledger report
-open the business partner selector
-Try to select all the partners selecting the first and the last entries with the shift key pressed.

No tags attached.
Issue History
2010-04-14 17:55networkbNew Issue
2010-04-14 17:55networkbAssigned To => alostale
2010-04-14 17:55networkbOBNetwork customer => Yes
2010-04-19 08:33alostaleAssigned Toalostale => shuehner
2010-04-19 08:34alostaleStatusnew => scheduled
2010-05-26 10:20networkbTarget Version2.50MP17 => 2.50MP19
2010-06-14 18:35shuehnerNote Added: 0028388
2010-06-14 18:47hgbotCheckin
2010-06-14 18:47hgbotNote Added: 0028389
2010-06-14 18:47hgbotCheckin
2010-06-14 18:47hgbotNote Added: 0028390
2010-06-14 18:47hgbotStatusscheduled => resolved
2010-06-14 18:47hgbotResolutionopen => fixed
2010-06-14 18:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/713673c0d94df03c4852c3c11a24e4289b427625 [^]
2010-06-14 18:48shuehnerNote Added: 0028391
2010-06-14 18:52shuehnerNote Added: 0028392
2010-06-15 05:44hudsonbotCheckin
2010-06-15 05:44hudsonbotNote Added: 0028410
2010-06-15 05:44hudsonbotCheckin
2010-06-15 05:44hudsonbotNote Added: 0028411
2010-06-17 12:21iperdomoNote Added: 0028547
2010-06-17 12:21iperdomoStatusresolved => closed
2010-06-18 00:00anonymoussf_bug_id0 => 3017784

Notes
(0028388)
shuehner   
2010-06-14 18:35   
Note:
Problem happens with at least one row having a xml special character like '&' in the name.

Note2:
Problem happens in all three *MultipleSelectors:
- BusinessPartnerMultiple
- ProductMultiple
- ProjectMultiple

To reproduce the same steps from above can be used to access all of those three selectors. Needed req: Minimum of ca. 150 records in the table so that the getIdsInRange request is really executed after selecting all rows. Second req: At least m_product.name, c_bpartner.name, c_project.name entry inside the selected range has a '&' in it.
(0028389)
hgbot   
2010-06-14 18:47   
Repository: erp/devel/pi
Changeset: 8a6fc6fe95f86ba0fed74907fe7bab1057799f83
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Jun 14 18:42:55 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8a6fc6fe95f86ba0fed74907fe7bab1057799f83 [^]

Issue 12981: Fix formatting

---
M src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
M src/org/openbravo/erpCommon/info/ProductMultiple.java
M src/org/openbravo/erpCommon/info/ProjectMultiple.java
---
(0028390)
hgbot   
2010-06-14 18:47   
Repository: erp/devel/pi
Changeset: 713673c0d94df03c4852c3c11a24e4289b427625
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Jun 14 18:46:15 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/713673c0d94df03c4852c3c11a24e4289b427625 [^]

Fixed 12981: Fix selecting multiple records with special characters in data
Code change to add xml-cdata to the id#rowkey output of the getIdsInRange
request as the rowkey part of this reponse can contain special characters
like '&'.

---
M src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
M src/org/openbravo/erpCommon/info/ProductMultiple.java
M src/org/openbravo/erpCommon/info/ProjectMultiple.java
---
(0028391)
shuehner   
2010-06-14 18:48   
Notes for reviewer:
In addition to verifying the correct fix, please check that the selected rows are correctly transfered to the calling page, and that the rowKey (name field of table in all three cases) is correctly displayed in the calling page widget.
(0028392)
shuehner   
2010-06-14 18:52   
Note for reviewer: The ProjectMultiple & ProductMultiple selector do show 2 js-error directly when being opened: this part is tracked in the new 13651 issue.
(0028410)
hudsonbot   
2010-06-15 05:44   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/8a6fc6fe95f8 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f7644da65496 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17606.obx [^]
(0028411)
hudsonbot   
2010-06-15 05:44   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/713673c0d94d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f7644da65496 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17606.obx [^]
(0028547)
iperdomo   
2010-06-17 12:21   
Tested on pi @ rev 9f24aff64553