Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045029 | Openbravo ERP | A. Platform | public | 2020-09-10 16:07 | 2020-10-20 11:40 |
|
Reporter | cberner | |
Assigned To | cberner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR21Q1 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045029: Generate deprecated tags for deprecated properties by default |
Description | Currently deprecated annotations are not added to generated classes from AD entities and properties, unless hb.generate.deprecated.properties is set to true in Openbravo.properties.
It is intended to always generate these deprecated annotations. So those should be generated by default. |
Steps To Reproduce | In description |
Proposed Solution | Remove hb.generate.deprecated.properties and generate "Deprecation" tags and javadoc by default for tables/columns -> entities/properties marked as deprecated. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0042664 | | closed | cberner | Openbravo ERP | Deprecated properties usage should be removed in platform modules | depends on | defect | 0045090 | | closed | inigo_lerga | Modules | Remove usage of deprecated Brand property in AWO.OperatorLoadBalancing module | causes | defect | 0045260 | | closed | cberner | Openbravo ERP | API Change: Removed shouldAddDeprecation and boolean argument in deprecation methods | causes | defect | 0045282 | | closed | cberner | Modules | idl.variants ImportProduct makes use of deprecated Brand entity |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-09-10 16:07 | cberner | New Issue | |
2020-09-10 16:07 | cberner | Assigned To | => cberner |
2020-09-10 16:07 | cberner | Modules | => Core |
2020-09-10 16:07 | cberner | Triggers an Emergency Pack | => No |
2020-09-10 16:08 | cberner | Relationship added | related to 0042664 |
2020-09-10 16:21 | hgbot | Note Added: 0122926 | |
2020-09-11 12:51 | hgbot | Note Added: 0122969 | |
2020-09-11 12:55 | hgbot | Note Added: 0122970 | |
2020-09-11 12:59 | hgbot | Note Added: 0122971 | |
2020-09-18 10:54 | cberner | Relationship added | depends on 0045090 |
2020-10-08 13:15 | hgbot | Note Added: 0123621 | |
2020-10-20 10:33 | cberner | Relationship added | causes 0045260 |
2020-10-20 11:39 | hgbot | Resolution | open => fixed |
2020-10-20 11:39 | hgbot | Status | new => closed |
2020-10-20 11:40 | hgbot | Fixed in Version | => PR21Q1 |
2020-10-20 11:40 | hgbot | Note Added: 0123800 | |
2020-10-20 11:40 | hgbot | Note Added: 0123801 | |
2020-10-20 11:40 | hgbot | Note Added: 0123805 | |
2020-10-20 11:40 | hgbot | Note Added: 0123806 | |
2020-10-20 11:40 | hgbot | Note Added: 0123808 | |
2020-10-20 11:40 | hgbot | Note Added: 0123809 | |
2020-10-22 14:24 | cberner | Relationship added | causes 0045282 |
Notes |
|
(0122926)
|
hgbot
|
2020-09-10 16:21
|
|
|
|
(0122969)
|
hgbot
|
2020-09-11 12:51
|
|
|
|
(0122970)
|
hgbot
|
2020-09-11 12:55
|
|
|
|
(0122971)
|
hgbot
|
2020-09-11 12:59
|
|
|
|
(0123621)
|
hgbot
|
2020-10-08 13:15
|
|
|
|
(0123800)
|
hgbot
|
2020-10-20 11:40
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 54a702bdfe09efcb93f65586b0d15479c0cafd7c
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2020-10-20T09:39:32+00:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/54a702bdfe09efcb93f65586b0d15479c0cafd7c [^]
Fixes ISSUE-45029: Generate deprecation tags entities and properties by default
Deprecated entities and properties were previously generating these tags
only when hg.generate.deprecated.properties was set to true in
Openbravo.properties. Now those are generated by default.
As a side-effect, the property hg.generate.deprecated.properties has
been removed and with it some methods in GenerateEntitiesTask.
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachmentUtils.java
M src-test/src/org/openbravo/test/dal/DalQueryTest.java
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/ModelProvider.java
---
|
|
|
(0123801)
|
hgbot
|
2020-10-20 11:40
|
|
|
|
(0123805)
|
hgbot
|
2020-10-20 11:40
|
|
|
|
(0123806)
|
hgbot
|
2020-10-20 11:40
|
|
|
|
(0123808)
|
hgbot
|
2020-10-20 11:40
|
|
|
|
(0123809)
|
hgbot
|
2020-10-20 11:40
|
|
|