Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016126Openbravo ERPA. Platformpublic2011-03-04 10:082011-03-16 00:00
mtaal 
mtaal 
highmajoralways
closedfixed 
5
 
pi 
Core
No
0016126: Cycle in identifier columns result in stack overflow
See 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.
No tags attached.
related to defect 00161402.50MP28 closed mtaal Cycle in identifier columns result in stack overflow 
Issue History
2011-03-04 10:08mtaalNew Issue
2011-03-04 10:08mtaalAssigned To => mtaal
2011-03-04 10:08mtaalModules => Core
2011-03-05 16:01mtaalRelationship addedrelated to 0016140
2011-03-05 16:02hgbotCheckin
2011-03-05 16:02hgbotNote Added: 0034584
2011-03-05 16:02hgbotStatusnew => resolved
2011-03-05 16:02hgbotResolutionopen => fixed
2011-03-05 16:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/35bfeb2da755ecd95b975b9ee2e9297788478d77 [^]
2011-03-15 18:08marvintmNote Added: 0034913
2011-03-15 18:08marvintmStatusresolved => closed
2011-03-16 00:00anonymoussf_bug_id0 => 3214402

Notes
(0034584)
hgbot   
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   
2011-03-15 18:08   
Followed the instructions and didn't get any problems.