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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045029
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2020-09-10 16:072020-10-20 11:40
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in VersionPR21Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045029: Generate deprecated tags for deprecated properties by default

DescriptionCurrently 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 ReproduceIn description
Proposed SolutionRemove hb.generate.deprecated.properties and generate "Deprecation" tags and javadoc by default for tables/columns -> entities/properties marked as deprecated.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0042664 closedcberner Openbravo ERP Deprecated properties usage should be removed in platform modules 
depends on defect 0045090 closedinigo_lerga Modules Remove usage of deprecated Brand property in AWO.OperatorLoadBalancing module 
causes defect 0045260 closedcberner Openbravo ERP API Change: Removed shouldAddDeprecation and boolean argument in deprecation methods 
causes defect 0045282 closedcberner Modules idl.variants ImportProduct makes use of deprecated Brand entity 

-  Notes
(0122926)
hgbot (developer)
2020-09-10 16:21

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/161 [^]
(0122969)
hgbot (developer)
2020-09-11 12:51

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing/-/merge_requests/1 [^]
(0122970)
hgbot (developer)
2020-09-11 12:55

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.idl.variants/-/merge_requests/1 [^]
(0122971)
hgbot (developer)
2020-09-11 12:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/5 [^]
(0123621)
hgbot (developer)
2020-10-08 13:15

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.operatorloadbalancing/-/merge_requests/1 [^]
(0123800)
hgbot (developer)
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 (developer)
2020-10-20 11:40

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/161 [^]
(0123805)
hgbot (developer)
2020-10-20 11:40

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: 0b6064fc9fb236ae0d9c4729b081543cf97296f8
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2020-10-08T10:55:11+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/0b6064fc9fb236ae0d9c4729b081543cf97296f8 [^]

Related to ISSUE-45029: Suppress deprecation warnings on Brand entity usage

Brand entity generates warnings in ecj when used because it has been
deprecated. For now a SuppressWarnings has been set in place, however
Brand usage should be changed to something else, probably Product
characteristic.

finalize method in AWOv_AutomaticInvoiceFromShipmentTest class has been
renamed to tearDown to remove an eclipse warning.

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/warehousealgorithm/printing/DefaultPrintingParameters.java
---
(0123806)
hgbot (developer)
2020-10-20 11:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/5 [^]
(0123808)
hgbot (developer)
2020-10-20 11:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.idl.variants/-/merge_requests/1 [^]
(0123809)
hgbot (developer)
2020-10-20 11:40

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.idl.variants [^]
Changeset: a3ff396c4f51e767db67ce026d69af1186f6f1b5
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2020-09-11T14:18:36+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.idl.variants/-/commit/a3ff396c4f51e767db67ce026d69af1186f6f1b5 [^]

Related to ISSUE-45029: Suppress deprecation warning on Brand entity usage

Brand entity is deprecated and should be fixed changed to something
else. For now a SuppressWarning has been put in place to allow correct
execution in CI after the introduction of Entity/Property deprecation
tags by default.

---
M src/org/openbravo/idl/variants/ImportProduct.java
---

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker