Openbravo Issue Tracking System - Modules | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0039640 | Modules | Advanced Warehouse Operations | public | 2018-11-16 08:53 | 2018-11-19 13:52 | ||||||||
| Reporter | jarmendariz | ||||||||||||
| Assigned To | jarmendariz | ||||||||||||
| Priority | normal | Severity | trivial | Reproducibility | always | ||||||||
| Status | closed | Resolution | fixed | ||||||||||
| Platform | OS | 5 | OS Version | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Merge Request Status | |||||||||||||
| Regression date | |||||||||||||
| Regression introduced by commit | |||||||||||||
| Regression level | |||||||||||||
| Review Assigned To | vmromanos | ||||||||||||
| Support ticket | |||||||||||||
| OBNetwork customer | No | ||||||||||||
| Regression introduced in release | |||||||||||||
| Summary | 0039640: BeautifyLogHTMLFormatter shows a compiler warning when updating log4j to 2.x | ||||||||||||
| Description | When pi's log4j version is updated to 2.x, BeautifyLogHTMLFormatter shows the following warning using the Eclipse compiler: 1. WARNING in /srv/ci/workspace/try-ret-modules-pgsql-suite1/modules/org.openbravo.warehouse.advancedwarehouseoperations/src/org/openbravo/warehouse/advancedwarehouseoperations/verbosity/BeautifyLogHTMLFormatter.java (at line 41) log4j.error(e.getMessage(), e.getStackTrace()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type StackTraceElement[] of the last argument to method error(String, Object...) doesn't exactly match the vararg parameter type. Cast to Object[] to confirm the non-varargs invocation, or pass individual arguments of type Object for a varargs invocation. | ||||||||||||
| Steps To Reproduce | * Update pi to use log4j2 [1] * Install AWO modules * Compile with Eclipse compiler [1] https://issues.openbravo.com/view.php?id=39504 [^] | ||||||||||||
| Proposed Solution | Replace the log call from log4j.error(String, Object) to log4j.error(String, Throwable) | ||||||||||||
| Additional Information | |||||||||||||
| Tags | No tags attached. | ||||||||||||
| Relationships |
| ||||||||||||
| Attached Files | |||||||||||||
| Issue History | |||||||||||||
| Date Modified | Username | Field | Change | ||||||||||
| 2018-11-16 08:53 | jarmendariz | New Issue | |||||||||||
| 2018-11-16 08:53 | jarmendariz | Assigned To | => Triage Finance | ||||||||||
| 2018-11-16 08:53 | jarmendariz | OBNetwork customer | => No | ||||||||||
| 2018-11-16 08:53 | jarmendariz | Relationship added | related to 0039504 | ||||||||||
| 2018-11-16 09:00 | jarmendariz | Assigned To | Triage Finance => jarmendariz | ||||||||||
| 2018-11-16 09:00 | jarmendariz | Status | new => scheduled | ||||||||||
| 2018-11-19 12:42 | hgbot | Checkin | |||||||||||
| 2018-11-19 12:42 | hgbot | Note Added: 0107981 | |||||||||||
| 2018-11-19 12:42 | hgbot | Status | scheduled => resolved | ||||||||||
| 2018-11-19 12:42 | hgbot | Resolution | open => fixed | ||||||||||
| 2018-11-19 12:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/9dbd35ba3f153d82c4379dc9e50a82991f324274 [^] | ||||||||||
| 2018-11-19 13:05 | jarmendariz | Review Assigned To | => vmromanos | ||||||||||
| 2018-11-19 13:52 | vmromanos | Note Added: 0107982 | |||||||||||
| 2018-11-19 13:52 | vmromanos | Status | resolved => closed | ||||||||||
| 2022-09-06 17:18 | caristu | Category | Advance Warehouse Operations => Advanced Warehouse Operations | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||