Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040836Openbravo ERP00. Application dictionarypublic2019-05-10 12:542019-12-12 23:01
alostale 
cberner 
normalminorhave not tried
closedfixed 
5
 
3.0PR20Q1 
AugustoMauch
Core
No
0040836: generate deprecated DAL java entities
AD_Table and AD_Column tables have a development status column which aims to track deprecated and not implemented features. But this information is not used when generating DAL entities.
-
No tags attached.
depends on feature request 0040290 closed alostale do not generate one-to-many property in parent entity for all FK properties 
related to feature request 0040837 closed cberner improve javadoc of generated entities: db column for properties 
Issue History
2019-05-10 12:54alostaleNew Issue
2019-05-10 12:54alostaleAssigned To => platform
2019-05-10 12:54alostaleModules => Core
2019-05-10 12:54alostaleTriggers an Emergency Pack => No
2019-05-10 12:55alostaleRelationship addeddepends on 0040290
2019-05-10 12:55alostaleStatusnew => acknowledged
2019-05-10 13:08alostaleRelationship addedrelated to 0040837
2019-08-22 10:56cbernerAssigned Toplatform => cberner
2019-08-22 10:57cbernerStatusacknowledged => scheduled
2019-08-22 10:57cbernerReview Assigned To => AugustoMauch
2019-10-16 11:13hgbotCheckin
2019-10-16 11:13hgbotNote Added: 0115106
2019-10-16 11:13hgbotStatusscheduled => resolved
2019-10-16 11:13hgbotResolutionopen => fixed
2019-10-16 11:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4d1fe2dbbb360af5ffdd20fe5727672ef09daa14 [^]
2019-10-16 16:14AugustoMauchNote Added: 0115122
2019-10-16 16:14AugustoMauchStatusresolved => closed
2019-10-16 16:14AugustoMauchFixed in Version => 3.0PR20Q1
2019-12-12 23:01hudsonbotCheckin
2019-12-12 23:01hudsonbotNote Added: 0116250

Notes
(0115106)
hgbot   
2019-10-16 11:13   
Repository: erp/devel/pi
Changeset: 4d1fe2dbbb360af5ffdd20fe5727672ef09daa14
Author: Cristian Berner <cristian.berner <at> openbravo.com>
Date: Wed Oct 09 14:16:33 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4d1fe2dbbb360af5ffdd20fe5727672ef09daa14 [^]

fixes issue 40836: Generates deprecated tag and Javadoc for DAL entities

Generates deprecated tag and Javadoc @deprecated message for DAL entities that have set "Development Status" variable to Deprecated.
Also sets as deprecated getters and setters in entities that target deprecated entities.
OB property hb.generate.deprecated.properties must be set to true for the generation to happen.
If table is set to deprecated, generated entity class is marked as deprecated.
If column is set to deprecated, generated entity method corresponding to that property column is marked as deprecated.

---
M src-test/src/org/openbravo/test/model/RuntimeModelTest.java
M src/org/openbravo/base/gen/GenerateEntitiesTask.java
M src/org/openbravo/base/gen/entity.ftl
M src/org/openbravo/base/model/Entity.java
M src/org/openbravo/base/model/ModelProvider.java
M src/org/openbravo/base/model/Property.java
---
(0115122)
AugustoMauch   
2019-10-16 16:14   
Code reviewed and verified
(0116250)
hudsonbot   
2019-12-12 23:01   
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/954d2b7a66fb [^]
Maturity status: Test