Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020666Openbravo ERPA. Platformpublic2012-06-03 22:242012-06-26 12:58
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP133.0MP13 
Core
No
0020666: Allow creation of proxy when setting property in business object
This issue is to track changes to allow explicit creation of proxy objects to set references in newly created business objects.

The changes are to add a getProxy method to OBDal, add a testcase and also use this new method in JSON de-serialization. And other places where it makes sense.
See attached diff for testcase
No tags attached.
related to defect 0020688 closed mtaal Newly added junit test fails and blocks all ci integration: int-full-pgsql/3619/ 
related to design defect 0020515 closed alostale OBCriteria creates contention at JVM 
Issue History
2012-06-03 22:24mtaalNew Issue
2012-06-03 22:24mtaalAssigned To => mtaal
2012-06-03 22:24mtaalModules => Core
2012-06-04 21:05mtaalTypedefect => feature request
2012-06-05 15:36hgbotCheckin
2012-06-05 15:36hgbotNote Added: 0049620
2012-06-05 15:36hgbotStatusnew => resolved
2012-06-05 15:36hgbotResolutionopen => fixed
2012-06-05 15:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7d077afe4a18e0a7d9b8a230286556f5ce1593f3 [^]
2012-06-06 12:50shuehnerRelationship addedrelated to 0020688
2012-06-26 12:58alostaleNote Added: 0050088
2012-06-26 12:58alostaleStatusresolved => closed
2012-06-26 12:58alostaleFixed in Version => 3.0MP13
2017-02-16 09:53alostaleRelationship addedrelated to 0020515

Notes
(0049620)
hgbot   
2012-06-05 15:36   
Repository: erp/devel/pi
Changeset: 7d077afe4a18e0a7d9b8a230286556f5ce1593f3
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jun 04 21:05:48 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7d077afe4a18e0a7d9b8a230286556f5ce1593f3 [^]

Fixes issue 20666: Allow creation of proxy when setting property in business object

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonToDataConverter.java
M src-test/org/openbravo/test/AllAntTaskTests.java
M src-test/org/openbravo/test/AllQuickAntTaskTests.java
M src-test/org/openbravo/test/AllTests.java
M src-test/org/openbravo/test/AntTaskTests.java
M src/org/openbravo/base/model/domaintype/BaseForeignKeyDomainType.java
M src/org/openbravo/dal/service/OBDal.java
A src-test/org/openbravo/test/dal/DalPerformanceCriteriaTest.java
A src-test/org/openbravo/test/dal/DalPerformanceProxyTest.java
---
(0050088)
alostale   
2012-06-26 12:58   
Code reviewed and verified in pi@50ec0eae0e81