Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0007502 | Openbravo ERP | Z. Others | public | 2009-02-11 14:33 | 2009-04-24 00:00 | ||||||||||||||
Reporter | artem | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | high | Severity | critical | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | pi | ||||||||||||||||||
Target Version | pi | Fixed in Version | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0007502: WindowTreeData generates incorrectly | ||||||||||||||||||
Description | While log in Openbravo the following exception occurs: java.lang.ArrayIndexOutOfBoundsException: 0 at org.openbravo.base.secureApp.OrgTree.<init>(OrgTree.java:37) at org.openbravo.base.secureApp.LoginUtils.fillSessionArguments(LoginUtils.java:70) at org.openbravo.erpCommon.ad_forms.Role.saveDefaultOptions(Role.java:152) at org.openbravo.erpCommon.ad_forms.Role.doPost(Role.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:331) ... This occurs because WindowTreeData generates incorrectly in part of method selectTreeID(): ... strSql = strSql + " SELECT NODE_ID, ID, NAME " + " FROM (" + " SELECT AD_Client_ID as Node_ID, AD_Tree_ID AS ID, NAME, 1 AS SEQNO" + " FROM AD_Tree " + " WHERE AD_Client_ID IN ("; strSql = strSql + ((adClientId==null || adClientId.equals(""))?"":adClientId); strSql = strSql + ((adClientId==null || adClientId.equals(""))?"":adClientId); strSql = strSql + ") " + ... | ||||||||||||||||||
Steps To Reproduce | |||||||||||||||||||
Proposed Solution | Please apply patch. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | main | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=830&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2009-02-11 14:33 | artem | New Issue | |||||||||||||||||
2009-02-11 14:33 | artem | Assigned To | => rafaroda | ||||||||||||||||
2009-02-11 14:33 | artem | File Added: WindowTree_data.diff | |||||||||||||||||
2009-02-11 14:33 | artem | OBNetwork customer | => No | ||||||||||||||||
2009-02-11 14:33 | artem | Regression testing | => No | ||||||||||||||||
2009-02-11 14:48 | rafaroda | Relationship added | related to 0007407 | ||||||||||||||||
2009-02-11 15:03 | rafaroda | Status | new => scheduled | ||||||||||||||||
2009-02-11 15:03 | rafaroda | Assigned To | rafaroda => alostale | ||||||||||||||||
2009-02-11 15:03 | rafaroda | fix_in_branch | => trunk | ||||||||||||||||
2009-02-11 15:09 | svnbot | Checkin | |||||||||||||||||
2009-02-11 15:09 | svnbot | Note Added: 0013346 | |||||||||||||||||
2009-02-11 15:09 | svnbot | Status | scheduled => resolved | ||||||||||||||||
2009-02-11 15:09 | svnbot | Resolution | open => fixed | ||||||||||||||||
2009-02-11 15:09 | svnbot | svn_revision | => 13052 | ||||||||||||||||
2009-02-11 16:00 | rafaroda | Relationship added | has duplicate 0007503 | ||||||||||||||||
2009-04-22 11:24 | psarobe | Tag Attached: main | |||||||||||||||||
2009-04-23 18:15 | psarobe | Status | resolved => closed | ||||||||||||||||
2009-04-24 00:00 | anonymous | sf_bug_id | 0 => 2779918 |
Notes | |||||
|
|||||
|
|