Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0001988Openbravo ERPB. User interfacepublic2007-09-20 18:332008-06-20 12:18
egoitz 
alostale 
normalminoralways
closedfixed 
5
 
2.40alpha-r3 
No
Core
No
0001988: error searching in a customer tab in bussines partner window
Steps

Click on Master data managament menu,
access to Bussines partner,
access tu customer tab,
click on search button and click ok.


Description
After click ok in the search pop-up window and error appears. After it, when you try to access to Business partner window, you can't and appears the next error:

java.lang.ArrayIndexOutOfBoundsException: 0

you have to close the application to enter on bussines partner window, because if you close session and try to enter on bussines partner the same erros appears.

see the images attached.

Enviroment
windows xp
v2.33
firefox 2.0
oracle
No tags attached.
Issue History
2008-06-20 12:18plujanStatusresolved => closed

Notes
(0005577)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1798985 [^]
(0002178)
pjuvara   
2007-11-02 10:39   
(edited on: 2008-06-12 09:21)
Logged In: YES
user_id=1871571
Originator: NO

I have been able to reproduce this issue in 2.35 as well.
It does not appear to be a critical issue since in most cases, you would search for business partners and not for customers (typically one business partner has only a handful of customer records).
(0002179)
alostale   
2008-05-22 16:06   
(edited on: 2008-06-12 09:21)
Logged In: YES
user_id=1500722
Originator: NO

Here there are two problems:
*Search doesn't work for customer tab
*java.lang.ArrayIndexOutOfBoundsException error when id is lost (a new issue has been created: https://issues.openbravo.com/view.php?id=406 [^])
(0002180)
alostale   
2008-05-23 12:32   
(edited on: 2008-06-12 09:21)
Logged In: YES
user_id=1500722
Originator: NO

Customer tab is accessing to c_bpartner table, the same one as its ancestor tab (Business partner) does, so when searching in this tab the filter is applied to this table. This does not make sense. So the solution is not to show search button for this kind of windows.
(0002181)
alostale   
2008-05-23 12:43   
(edited on: 2008-06-12 09:21)
Logged In: YES
user_id=1500722
Originator: NO

r4493.