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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045260
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2020-10-20 10:332020-10-20 11:40
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in Version
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

0045260: API Change: Removed shouldAddDeprecation and boolean argument in deprecation methods

DescriptionWith the changes to generate deprecated properties and entities by default, the method shouldAddDeprecation and the boolean arguments to differentiate between adding or not the deprecation are not needed anymore and have been removed, resulting in an API change.

Removed:
Method GenerateEntitiesTask.shouldAddDeprecation()
Method ModelProvider.addHelpAndDeprecationToModel(boolean) (removed the argument, resulting in another method)
Steps To ReproduceIn description
TagsApproved
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0045029 closedcberner Generate deprecated tags for deprecated properties by default 

-  Notes
(0123799)
hgbot (developer)
2020-10-20 10:54

Merge Request created: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/7 [^]
(0123802)
hgbot (developer)
2020-10-20 11:40

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: 88dca4c1e77ee86f3ec5da41668fd9f4b16e52db
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2020-10-20T10:40:32+02:00
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/88dca4c1e77ee86f3ec5da41668fd9f4b16e52db [^]

Fixes ISSUE-45260: Remove shouldAddDeprecation and deprecation method arg

Entities and properties will be deprecated by default if marked as
deprecated instead of having an optional argument to activate the
deprecation. This means those shouldAddDeprecation method is not needed anymore and an
argument to differentiate between adding or removing deprecation is also
not needed.

GenerateEntitiesTask.shouldAddDeprecation method has been removed
ModelProvider.addHelpAndDeprecationToModel method has no argument now
(previously it had a boolean)

---
M java/reference/java.japi.gz
---
(0123803)
hgbot (developer)
2020-10-20 11:40

Merge request merged: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/7 [^]

- Issue History
Date Modified Username Field Change
2020-10-20 10:33 cberner New Issue
2020-10-20 10:33 cberner Assigned To => alostale
2020-10-20 10:33 cberner Modules => Core
2020-10-20 10:33 cberner Triggers an Emergency Pack => No
2020-10-20 10:33 cberner Relationship added caused by 0045029
2020-10-20 10:34 alostale Tag Attached: Approved
2020-10-20 10:34 alostale Assigned To alostale => cberner
2020-10-20 10:39 cberner Description Updated View Revisions
2020-10-20 10:54 hgbot Note Added: 0123799
2020-10-20 11:40 hgbot Resolution open => fixed
2020-10-20 11:40 hgbot Status new => closed
2020-10-20 11:40 hgbot Note Added: 0123802
2020-10-20 11:40 hgbot Note Added: 0123803


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker