Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025347Openbravo ERPA. Platformpublic2013-12-17 16:292014-01-17 15:49
caristu 
shankarb 
highmajorhave not tried
closedfixed 
5
 
3.0PR14Q23.0PR14Q2 
AugustoMauch
Core
No
0025347: Parent record is not retrieved correctly under some circumstances
For those records that belong to a tab with have at least two parents, and those parents are not referencing to the same entity the parent record is not retrieved correctly and these can cause errors.
1) Create a new tab in the business partner window referencing a new entity
2) Create a new subtab for the previously created tab
3) Create a new column for the c_bpartnertable and set it as "stored in session"
4) Try to create a new record for the subtab in 2): the following error is raised in the log: INFO org.openbravo.erpCommon.utility.ErrorTextParserPOSTGRE - did not find constraint name for error message: Property with EM_dbprefix_newcolumn does not exist for entity dprefix_tabentity
Modify the getParentRecord() method in KernelUtils java in order to retrieve the correct parent tab
No tags attached.
diff FixIssue25347.diff (1,862) 2013-12-24 11:27
https://issues.openbravo.com/file_download.php?file_id=6585&type=bug
Issue History
2013-12-17 16:29caristuNew Issue
2013-12-17 16:29caristuAssigned To => AugustoMauch
2013-12-17 16:29caristuModules => Core
2013-12-17 16:29caristuTriggers an Emergency Pack => No
2013-12-17 16:30caristuProposed Solution updated
2013-12-17 16:43caristuIssue Monitored: networkb
2013-12-17 16:43caristuResolution time => 1358377200
2013-12-17 16:43caristuTarget Version => 3.0MP31
2013-12-23 05:50shankarbAssigned ToAugustoMauch => shankarb
2013-12-24 11:27shankarbFile Added: FixIssue25347.diff
2013-12-26 05:14shankarbStatusnew => scheduled
2013-12-26 05:14shankarbfix_in_branch => pi
2014-01-02 12:38jonalegriaesarteTarget Version3.0MP31 => 3.0MP32
2014-01-08 10:48shankarbReview Assigned To => AugustoMauch
2014-01-08 10:48shankarbfix_in_branchpi =>
2014-01-08 10:48shankarbIssue Monitored: AugustoMauch
2014-01-08 10:49hgbotCheckin
2014-01-08 10:49hgbotNote Added: 0063279
2014-01-08 10:49hgbotStatusscheduled => resolved
2014-01-08 10:49hgbotResolutionopen => fixed
2014-01-08 10:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d2d5950cc4fa73676b0540dd54240f0b19001839 [^]
2014-01-09 10:14AugustoMauchNote Added: 0063325
2014-01-09 10:14AugustoMauchStatusresolved => closed
2014-01-09 10:14AugustoMauchFixed in Version => 3.0MP32
2014-01-17 15:49hudsonbotCheckin
2014-01-17 15:49hudsonbotNote Added: 0063484

Notes
(0063279)
hgbot   
2014-01-08 10:49   
Repository: erp/devel/pi
Changeset: d2d5950cc4fa73676b0540dd54240f0b19001839
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Dec 24 15:06:16 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d2d5950cc4fa73676b0540dd54240f0b19001839 [^]

Fixes Issue 0025347: Parent record is not retrieved correctly under some circumstances

The getParentRecord method computes the parent record only from the parent tab instead of comparing all the tabs of the window.

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelUtils.java
---
(0063325)
AugustoMauch   
2014-01-09 10:14   
Code reviewed and verified in pi@d2d5950cc4fa
(0063484)
hudsonbot   
2014-01-17 15:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9669102eb541 [^]
Maturity status: Test