Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0047962 | Openbravo ERP | A. Platform | public | 2021-11-03 13:12 | 2021-11-11 07:04 | |||||||
| Reporter | shuehner | |||||||||||
| Assigned To | alostale | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | PR22Q1 | ||||||||||
| Merge Request Status | approved | |||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0047962: OBSchedulerInitializerListener should not use System.out.println for logging | |||||||||||
| Description | This file is using a single System.out.println instead of proper log4j usage. https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/base/OBSchedulerInitializerListener.java#L157 [^] That was added initially in this commit: https://gitlab.com/openbravo/product/openbravo/-/commit/893bc475e92232ed0e71aee050848dab458d62e8#320d411275551c3035b76c3ab909e6c86a0b53e7_116_139 [^] In which the connection could have been null. However current code is getting the connection from the DAL session so that whole "if (connection != null)" maybe obsolete | |||||||||||
| Steps To Reproduce | https://gitlab.com/openbravo/product/openbravo/-/commit/893bc475e92232ed0e71aee050848dab458d62e8#320d411275551c3035b76c3ab909e6c86a0b53e7_116_139 [^] | |||||||||||
| Proposed Solution | Either a.) Remove the if/else block having the System.out.println in connection cannot be null b.) if that is not possible change it to proper log4j error usage | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2021-11-03 13:12 | shuehner | New Issue | ||||||||||
| 2021-11-03 13:12 | shuehner | Assigned To | => platform | |||||||||
| 2021-11-03 13:12 | shuehner | OBNetwork customer | => No | |||||||||
| 2021-11-03 13:12 | shuehner | Modules | => Core | |||||||||
| 2021-11-03 13:12 | shuehner | Triggers an Emergency Pack | => No | |||||||||
| 2021-11-03 13:12 | shuehner | Relationship added | blocks 0036162 | |||||||||
| 2021-11-03 13:17 | shuehner | Issue cloned | 0047963 | |||||||||
| 2021-11-04 12:59 | hgbot | Merge Request Status | => open | |||||||||
| 2021-11-04 12:59 | hgbot | Note Added: 0132844 | ||||||||||
| 2021-11-10 08:50 | hgbot | Merge Request Status | open => approved | |||||||||
| 2021-11-11 07:04 | hgbot | Note Added: 0132949 | ||||||||||
| 2021-11-11 07:04 | hgbot | Resolution | open => fixed | |||||||||
| 2021-11-11 07:04 | hgbot | Status | new => closed | |||||||||
| 2021-11-11 07:04 | hgbot | Note Added: 0132950 | ||||||||||
| 2021-11-11 07:04 | hgbot | Fixed in Version | => PR22Q1 | |||||||||
| 2021-11-11 07:04 | hgbot | Note Added: 0132951 | ||||||||||
| 2021-11-11 07:04 | alostale | Assigned To | platform => alostale | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||