Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0036582 | Retail Modules | Web POS | public | 2017-08-02 15:40 | 2017-08-24 09:12 |
|
Reporter | ioritzCia | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR17Q4 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0036582: Bad logging code at exception at MobileCoreLoginHandler |
Description | There is bad logging code at MobileCoreLoginHandler.
In https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/e3cb74a79b0d/src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java [^]
Line 198 should disappear, it is wrong and in production systems it is printing errors in catalina.out
Line 199 should be a debug and should not print the stack trace when the exception is because of wrong password.
Line 204 should be reviewed as well when the exception is because of wrong password.
For lines 199 and 204 the behaviour should only change when it is an identification error, not for the rest of the error.
There are two files uploaded with proposed changes to take out the printStackTraces from posterminal and mobilecore. |
Steps To Reproduce | Try to login in the POS with a wrong password.
See catalina.out and openbravo.log |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0031674 | | closed | alostale | Openbravo ERP | too verbose log for invalid login attempt | blocks | design defect | 0036162 | | acknowledged | Triage Platform Base | Openbravo ERP | clean up openbravo.log |
|
Attached Files | mobilecore-printStackTrace-removal.diff (555) 2017-08-02 17:20 https://issues.openbravo.com/file_download.php?file_id=10952&type=bug
posterminal-printStackTrace-removal.diff (5,522) 2017-08-02 17:20 https://issues.openbravo.com/file_download.php?file_id=10953&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2017-08-02 15:40 | ioritzCia | New Issue | |
2017-08-02 15:40 | ioritzCia | Assigned To | => Retail |
2017-08-02 15:40 | ioritzCia | OBNetwork customer | => Yes |
2017-08-02 15:40 | ioritzCia | Resolution time | => 1502834400 |
2017-08-02 15:40 | ioritzCia | Triggers an Emergency Pack | => No |
2017-08-02 15:40 | ioritzCia | Relationship added | blocks 0036162 |
2017-08-02 15:41 | ioritzCia | Relationship added | related to 0031674 |
2017-08-02 15:41 | ioritzCia | Description Updated | bug_revision_view_page.php?rev_id=15569#r15569 |
2017-08-02 15:42 | ioritzCia | Summary | Bad code at MobileCoreLoginHandler => Bad logging code at exception at MobileCoreLoginHandler |
2017-08-02 16:55 | ioritzCia | Description Updated | bug_revision_view_page.php?rev_id=15570#r15570 |
2017-08-02 17:02 | ioritzCia | Description Updated | bug_revision_view_page.php?rev_id=15571#r15571 |
2017-08-02 17:20 | ioritzCia | File Added: mobilecore-printStackTrace-removal.diff | |
2017-08-02 17:20 | ioritzCia | File Added: posterminal-printStackTrace-removal.diff | |
2017-08-02 17:22 | ioritzCia | Description Updated | bug_revision_view_page.php?rev_id=15572#r15572 |
2017-08-03 10:23 | ioritzCia | Description Updated | bug_revision_view_page.php?rev_id=15587#r15587 |
2017-08-05 08:27 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2017-08-05 08:27 | ranjith_qualiantech_com | Status | new => scheduled |
2017-08-07 13:54 | hgbot | Checkin | |
2017-08-07 13:54 | hgbot | Note Added: 0098406 | |
2017-08-07 13:55 | hgbot | Checkin | |
2017-08-07 13:55 | hgbot | Note Added: 0098407 | |
2017-08-07 13:55 | hgbot | Status | scheduled => resolved |
2017-08-07 13:55 | hgbot | Resolution | open => fixed |
2017-08-07 13:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5984743bae371bc89d5002e450d9ba2582cbb567 [^] |
2017-08-09 14:02 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2017-08-10 14:31 | Sandrahuguet | Note Added: 0098477 | |
2017-08-10 14:31 | Sandrahuguet | Status | resolved => new |
2017-08-10 14:31 | Sandrahuguet | Resolution | fixed => open |
2017-08-10 14:44 | Sandrahuguet | Note Edited: 0098477 | bug_revision_view_page.php?bugnote_id=0098477#r15645 |
2017-08-11 08:29 | ranjith_qualiantech_com | Status | new => scheduled |
2017-08-22 08:05 | hgbot | Checkin | |
2017-08-22 08:05 | hgbot | Note Added: 0098564 | |
2017-08-22 08:05 | hgbot | Status | scheduled => resolved |
2017-08-22 08:05 | hgbot | Resolution | open => fixed |
2017-08-22 08:05 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5984743bae371bc89d5002e450d9ba2582cbb567 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b268a450e0377af624e64f79ff4a4648ba29e102 [^] |
2017-08-24 09:12 | marvintm | Review Assigned To | Sandrahuguet => marvintm |
2017-08-24 09:12 | marvintm | Status | resolved => closed |
2017-08-24 09:12 | marvintm | Fixed in Version | => RR17Q4 |
Notes |
|
(0098406)
|
hgbot
|
2017-08-07 13:54
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a117bf6fbc3401d86ed5962ab31458135860c319
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Aug 07 17:23:48 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a117bf6fbc3401d86ed5962ab31458135860c319 [^]
Related to issue 36582 : Replaced printStackTrace with Logger
---
M src-util/modulescript/src/src/org/openbravo/mobile/core/modulescript/UpdateEmptyMobileServerKeyData.java
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---
|
|
|
(0098407)
|
hgbot
|
2017-08-07 13:55
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5984743bae371bc89d5002e450d9ba2582cbb567
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Aug 07 17:23:59 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5984743bae371bc89d5002e450d9ba2582cbb567 [^]
Fixed issue 36582 : Replaced printStackTrace with Logger
---
M src/org/openbravo/retail/posterminal/POSUtils.java
M src/org/openbravo/retail/posterminal/ad_reports/CashUpReport.java
M src/org/openbravo/retail/posterminal/master/CharacteristicValueProperties.java
M src/org/openbravo/retail/posterminal/master/Product.java
M src/org/openbravo/retail/posterminal/term/Labels.java
M src/org/openbravo/retail/posterminal/utility/GenerateProductImages.java
---
|
|
|
(0098477)
|
Sandrahuguet
|
2017-08-10 14:31
(edited on: 2017-08-10 14:44) |
|
|
|
(0098564)
|
hgbot
|
2017-08-22 08:05
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b268a450e0377af624e64f79ff4a4648ba29e102
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Aug 22 11:34:35 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b268a450e0377af624e64f79ff4a4648ba29e102 [^]
Fixed issue 36582 : Replaced printStackTrace with Logger
* Updated class files in modulescript
---
M build/classes/org/openbravo/mobile/core/modulescript/UpdateEmptyMobileServerKey.class
M build/classes/org/openbravo/mobile/core/modulescript/UpdateEmptyMobileServerKeyData.class
---
|
|