Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0007502 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | critical | always | 2009-02-11 14:33 | 2009-04-24 00:00 | |||
Reporter | artem | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 13052 | |||
Projection | none | ETA | none | Target Version | pi | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
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 + ") " + ... | |||||||
Proposed Solution | Please apply patch. | |||||||
Tags | main | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0013346) svnbot (viewer) 2009-02-11 15:09 |
Repository: openbravo Revision: 13052 Author: alostale Date: 2009-02-11 15:09:26 +0100 (Wed, 11 Feb 2009) fixed bug 0007502: WindowTreeData generates incorrectly --- U trunk/src/org/openbravo/erpCommon/utility/WindowTree_data.xsql --- https://dev.openbravo.com/websvn/openbravo/?rev=13052&sc=1 [^] |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |