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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016140
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-03-05 16:012011-03-17 00:00
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona5dbd7767f35
ProjectionnoneETAnoneTarget Version2.50MP28
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

0016140: 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 0016126pi closedmtaal Cycle in identifier columns result in stack overflow 

-  Notes
(0034585)
hgbot (developer)
2011-03-05 16:26

Repository: erp/stable/2.50
Changeset: a5dbd7767f354ff05f1cc252078bc5ca1ff0af8f
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Mar 05 16:26:11 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/a5dbd7767f354ff05f1cc252078bc5ca1ff0af8f [^]

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

---
M src/org/openbravo/dal/security/EntityAccessChecker.java
---
(0034912)
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-05 16:01 mtaal New Issue
2011-03-05 16:01 mtaal Assigned To => mtaal
2011-03-05 16:01 mtaal Modules => Core
2011-03-05 16:01 mtaal Relationship added related to 0016126
2011-03-05 16:01 mtaal Summary 16126: Cycle in identifier columns result in stack overflow => Cycle in identifier columns result in stack overflow
2011-03-05 16:26 hgbot Checkin
2011-03-05 16:26 hgbot Note Added: 0034585
2011-03-05 16:26 hgbot Status new => resolved
2011-03-05 16:26 hgbot Resolution open => fixed
2011-03-05 16:26 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/a5dbd7767f354ff05f1cc252078bc5ca1ff0af8f [^]
2011-03-15 18:08 marvintm Note Added: 0034912
2011-03-15 18:08 marvintm Status resolved => closed
2011-03-17 00:00 anonymous sf_bug_id 0 => 3217688


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker