Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045029 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2020-09-10 16:07 | 2020-10-20 11:40 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR21Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||||||||
|
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 |