Openbravo Issue Tracking System - Modules |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0045282 | Modules | IDL For Variants | public | 2020-10-22 14:20 | 2020-10-23 07:00 |
|
| 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 | | |
| Merge Request Status | approved |
| Regression date | |
| Regression introduced by commit | |
| Regression level | |
| Review Assigned To | |
| Support ticket | |
| OBNetwork customer | No |
| Regression introduced in release | |
|
| Summary | 0045282: idl.variants ImportProduct makes use of deprecated Brand entity |
| Description | ImportProduct class makes use of deprecated Brand entity and a java compiler warning is thrown because of this.
Although ImportProduct has a @SuppressWarnings("deprecation") annotation at the level class, it is not enough because Brand class is imported directly. (Note, this only fails in Java 8, because Java9 fixes this import deprecated detection) |
| Steps To Reproduce | In description. |
| Proposed Solution | Use Brand class explicitly, without importing it at the top level of the class. In the future, remove usage of deprecated Brand class. |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | caused by | defect | 0045029 | | closed | cberner | Openbravo ERP | Generate deprecated tags for deprecated properties by default |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2020-10-22 14:20 | cberner | New Issue | |
| 2020-10-22 14:20 | cberner | Assigned To | => cberner |
| 2020-10-22 14:20 | cberner | OBNetwork customer | => No |
| 2020-10-22 14:24 | cberner | Relationship added | caused by 0045029 |
| 2020-10-22 14:30 | hgbot | Merge Request Status | => open |
| 2020-10-22 14:30 | hgbot | Note Added: 0123873 | |
| 2020-10-23 07:00 | hgbot | Merge Request Status | open => approved |
| 2020-10-23 07:00 | hgbot | Resolution | open => fixed |
| 2020-10-23 07:00 | hgbot | Status | new => closed |
| 2020-10-23 07:00 | hgbot | Note Added: 0123894 | |
| 2020-10-23 07:00 | hgbot | Note Added: 0123895 | |