Openbravo Issue Tracking System - Retail Modules | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0047967 | Retail Modules | Web POS | public | 2021-11-03 14:21 | 2021-11-04 08:17 | ||||||||
| Reporter | shuehner | ||||||||||||
| Assigned To | shuehner | ||||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
| Status | closed | Resolution | fixed | ||||||||||
| Platform | OS | 5 | OS Version | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | RR22Q1 | |||||||||||
| Merge Request Status | approved | ||||||||||||
| Review Assigned To | marvintm | ||||||||||||
| OBNetwork customer | No | ||||||||||||
| Support ticket | |||||||||||||
| Regression level | |||||||||||||
| Regression date | |||||||||||||
| Regression introduced in release | |||||||||||||
| Regression introduced by commit | |||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||
| Summary | 0047967: Several files in posterminal are using bad logging (printStrace or System.out.println) | ||||||||||||
| Description | - org/openbravo/retail/posterminal/master/Cashup.java - org/openbravo/retail/posterminal/process/CustomerStatistics.java Both Move from printStackTrace to log4j.error - org/openbravo/retail/posterminal/CashupHook.java org/openbravo/retail/posterminal/CustomerAddrCreationHook.java org/openbravo/retail/posterminal/CustomerLoaderHook.java org/openbravo/retail/posterminal/OrderLoaderHook.java org/openbravo/retail/posterminal/VoidLayawayHook.java org/openbravo/retail/posterminal/ad_reports/CashupReportHook.java All had System.out.println("somebody is calling me") inside commented out example code on how to implement those hooks. To avoid having bad code-example replace that by just a source-code comment - org/openbravo/retail/posterminal/CashupHook.java org/openbravo/retail/posterminal/ad_reports/CashupReportHook.java Additionally in those two files the method signature of the example code did not match the interface to be implemented. Fix that up as well | ||||||||||||
| Steps To Reproduce | https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/blob/master/src/org/openbravo/retail/discounts/AddPack.java#L113 [^] | ||||||||||||
| Proposed Solution | move it to log4j.debug (as just debugging output anyway) | ||||||||||||
| Additional Information | |||||||||||||
| Tags | No tags attached. | ||||||||||||
| Relationships |
| ||||||||||||
| Attached Files | |||||||||||||
| Issue History | |||||||||||||
| Date Modified | Username | Field | Change | ||||||||||
| 2021-11-03 14:21 | shuehner | New Issue | |||||||||||
| 2021-11-03 14:21 | shuehner | Assigned To | => Retail | ||||||||||
| 2021-11-03 14:21 | shuehner | OBNetwork customer | => No | ||||||||||
| 2021-11-03 14:21 | shuehner | Triggers an Emergency Pack | => No | ||||||||||
| 2021-11-03 14:21 | shuehner | Issue generated from | 0047964 | ||||||||||
| 2021-11-03 14:22 | shuehner | Relationship added | blocks 0036162 | ||||||||||
| 2021-11-03 14:25 | hgbot | Merge Request Status | => open | ||||||||||
| 2021-11-03 14:25 | hgbot | Note Added: 0132814 | |||||||||||
| 2021-11-04 08:14 | hgbot | Merge Request Status | open => approved | ||||||||||
| 2021-11-04 08:14 | hgbot | Note Added: 0132820 | |||||||||||
| 2021-11-04 08:14 | hgbot | Note Added: 0132821 | |||||||||||
| 2021-11-04 08:16 | marvintm | Status | new => scheduled | ||||||||||
| 2021-11-04 08:16 | marvintm | Assigned To | Retail => shuehner | ||||||||||
| 2021-11-04 08:16 | marvintm | Status | scheduled => resolved | ||||||||||
| 2021-11-04 08:16 | marvintm | Fixed in Version | => RR22Q1 | ||||||||||
| 2021-11-04 08:16 | marvintm | Resolution | open => fixed | ||||||||||
| 2021-11-04 08:17 | marvintm | Review Assigned To | => marvintm | ||||||||||
| 2021-11-04 08:17 | marvintm | Status | resolved => closed | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||