Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0006683 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 00. Application dictionary | critical | sometimes | 2008-12-19 12:16 | 2009-04-21 11:09 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 11411 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 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 | 0006683: Error accessing windows in edition mode | |||||||
Description | Depending on the organization assigned to a role the following error is raised whenever a page in edition mode is tried to be accessed: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 It is possible that this happens when the role has more than one organization assigned (not sure, check it). This is part of the stack trace error that appears in catalina.out log: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:770) at java.lang.StringBuffer.deleteCharAt(StringBuffer.java:382) at org.openbravo.base.secureApp.OrgTree.getTransactionAllowedOrgs(OrgTree.java:105) at org.openbravo.erpCommon.utility.Utility.getContext(Utility.java:338) at org.openbravo.erpWindows.SimpleSalesOrder.Header.printPageEdit(Header.java:763) Look that the problem is in org.openbravo.base.secureApp.OrgTree.getTransactionAllowedOrgs, line 105 when manipulating the string. My environment passed to this method as strOrgs parameter: '1000001','1000002' | |||||||
Steps To Reproduce | -Enter in any window with the proper role settings (more than two orgs assigned?) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0011590) svnbot (viewer) 2008-12-19 13:24 |
Repository: openbravo Revision: 11411 Author: vmromanos Date: 2008-12-19 13:24:01 +0100 (Fri, 19 Dec 2008) Fixed bug 0006683: Error accessing windows in edition mode --- U trunk/src/org/openbravo/base/secureApp/OrgTree.java --- https://dev.openbravo.com/websvn/openbravo/?rev=11411&sc=1 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2008-12-19 12:16 | alostale | New Issue | |
2008-12-19 12:16 | alostale | Assigned To | => vmromanos |
2008-12-19 12:16 | alostale | sf_bug_id | 0 => 2448408 |
2008-12-19 12:16 | alostale | OBNetwork customer | => No |
2008-12-19 12:16 | alostale | Regression testing | => No |
2008-12-19 13:24 | svnbot | Checkin | |
2008-12-19 13:24 | svnbot | Note Added: 0011590 | |
2008-12-19 13:24 | svnbot | Status | new => resolved |
2008-12-19 13:24 | svnbot | Resolution | open => fixed |
2008-12-19 13:24 | svnbot | svn_revision | => 11411 |
2009-04-21 11:09 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |