Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006683
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarycriticalsometimes2008-12-19 12:162009-04-21 11:09
ReporteralostaleView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision11411
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006683: Error accessing windows in edition mode

DescriptionDepending 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?)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0011590)
svnbot (reporter)
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 [^]

- Issue History
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 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
Powered by Mantis Bugtracker