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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012702
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2010-03-17 09:152010-04-19 21:10
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision0f475015bd24
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012702: Cycle in parent reference references then DAL throws stack over flow error

DescriptionWhen there is a cycle in the parent reference associations in the AD_Reference table then the DAL will get into an infinite loop and throw a stack over flow.

This happens in this method in org.openbravo.base.model.Reference:
  public String getModelImplementationClassName() {
    if (getModelImpl() == null && getParentReference() != null) {
      return getParentReference().getModelImplementationClassName();
    }
    return getModelImpl();
  }
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0025625)
hgbot (developer)
2010-03-19 17:38

Repository: erp/devel/pi
Changeset: 0f475015bd24f8820edbae6cf8ae49a447c23e49
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Mar 19 17:45:39 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0f475015bd24f8820edbae6cf8ae49a447c23e49 [^]

fixes issue 12702: Cycle in parent reference references then DAL throws stack over flow error

---
M src-test/org/openbravo/test/dal/IssuesTest.java
M src/org/openbravo/base/model/Reference.hbm.xml
M src/org/openbravo/base/model/Reference.java
---
(0026215)
iperdomo (reporter)
2010-04-14 18:29

Tested on PI @ rev b20cb5f43144 using the testcase
(0026357)
hudsonbot (developer)
2010-04-19 21:10

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/0f475015bd24 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]

- Issue History
Date Modified Username Field Change
2010-03-17 09:15 mtaal New Issue
2010-03-17 09:15 mtaal Assigned To => mtaal
2010-03-19 17:38 hgbot Checkin
2010-03-19 17:38 hgbot Note Added: 0025625
2010-03-19 17:38 hgbot Status new => resolved
2010-03-19 17:38 hgbot Resolution open => fixed
2010-03-19 17:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0f475015bd24f8820edbae6cf8ae49a447c23e49 [^]
2010-04-14 18:29 iperdomo Note Added: 0026215
2010-04-14 18:29 iperdomo Status resolved => closed
2010-04-15 00:00 anonymous sf_bug_id 0 => 2987420
2010-04-19 21:10 hudsonbot Checkin
2010-04-19 21:10 hudsonbot Note Added: 0026357


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker