Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047971Retail ModulesLoyalty Programs for Web POSpublic2021-11-03 15:082021-11-10 15:31
shuehner 
justin_patterson 
normalminorhave not tried
closedfixed 
5
 
 
No
0047971: org.openbravo.retail.loyalty.programs is using bad logging (printStackTrace)
That should be moved to proper log4j usage
pmods/org.openbravo.retail.loyalty.programs/src/org/openbravo/retail/loyalty/programs/process/LoyaltyEarnedPointsLoader.java: e.printStackTrace();
No tags attached.
blocks design defect 0036162 acknowledged Triage Platform Base Openbravo ERP clean up openbravo.log 
Issue History
2021-11-03 15:08shuehnerNew Issue
2021-11-03 15:08shuehnerAssigned To => Retail
2021-11-03 15:08shuehnerTriggers an Emergency Pack => No
2021-11-03 15:09shuehnerRelationship addedblocks 0036162
2021-11-04 08:17marvintmStatusnew => scheduled
2021-11-04 08:17marvintmAssigned ToRetail => justin_patterson
2021-11-10 15:31hgbotResolutionopen => fixed
2021-11-10 15:31hgbotStatusscheduled => closed
2021-11-10 15:31hgbotNote Added: 0132939
2021-11-10 15:31hgbotNote Added: 0132940

Notes
(0132939)
hgbot   
2021-11-10 15:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs [^]
Changeset: 3a24f2e685ffbc90ae4226ee8ae11b628870dbb8
Author: Justin Patterson <justin.patterson@openbravo.com>
Date: 2021-11-09T18:17:29+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/commit/3a24f2e685ffbc90ae4226ee8ae11b628870dbb8 [^]

Fixed ISSUE-47971: moved logging to log4j
- imported log4j LogManager
- instantiated logger
- replaced e.printStackTrace with logger.error(e.printMessage())

---
M src/org/openbravo/retail/loyalty/programs/process/LoyaltyEarnedPointsLoader.java
---
(0132940)
hgbot   
2021-11-10 15:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.loyalty.programs/-/merge_requests/21 [^]