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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016126
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2011-03-04 10:082011-03-16 00:00
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision35bfeb2da755
ProjectionnoneETAnoneTarget Versionpi
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

0016126: Cycle in identifier columns result in stack overflow

DescriptionSee this forum post:
http://forge.openbravo.com/plugins/espforum/view.php?group_id=100&forumid=549512&topicid=7023095 [^]

This stacktrace:
java.lang.StackOverflowError
    at java.util.ArrayList.get(Unknown Source)
    at java.util.AbstractList$Itr.next(Unknown Source)
    at org.openbravo.dal.security.EntityAccessChecker.addDerivedReadableIdentifierProperties(EntityAccessChecker.java:251)
    at org.openbravo.dal.security.EntityAccessChecker.addDerivedReadableIdentifierProperties(EntityAccessChecker.java:255)

There is no safeguard against infinite loops in this part of the code. This needs to be added.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00161402.50MP28 closedmtaal Cycle in identifier columns result in stack overflow 

-  Notes
(0034584)
hgbot (developer)
2011-03-05 16:02

Repository: erp/devel/pi
Changeset: 35bfeb2da755ecd95b975b9ee2e9297788478d77
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Mar 05 16:02:08 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/35bfeb2da755ecd95b975b9ee2e9297788478d77 [^]

Fixes issue 16126: Cycle in identifier columns result in stack overflow

---
M src/org/openbravo/dal/security/EntityAccessChecker.java
---
(0034913)
marvintm (developer)
2011-03-15 18:08

Followed the instructions and didn't get any problems.

- Issue History
Date Modified Username Field Change
2011-03-04 10:08 mtaal New Issue
2011-03-04 10:08 mtaal Assigned To => mtaal
2011-03-04 10:08 mtaal Modules => Core
2011-03-05 16:01 mtaal Relationship added related to 0016140
2011-03-05 16:02 hgbot Checkin
2011-03-05 16:02 hgbot Note Added: 0034584
2011-03-05 16:02 hgbot Status new => resolved
2011-03-05 16:02 hgbot Resolution open => fixed
2011-03-05 16:02 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/35bfeb2da755ecd95b975b9ee2e9297788478d77 [^]
2011-03-15 18:08 marvintm Note Added: 0034913
2011-03-15 18:08 marvintm Status resolved => closed
2011-03-16 00:00 anonymous sf_bug_id 0 => 3214402


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker