Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040110 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-02-01 16:17 | 2019-02-06 17:06 | |||
Reporter | lbressan | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 65e590558a35 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | jorge-garcia | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 7711 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040110: Web POS login fails when loggin in to a terminal with a payment method configured as Leave as Credit. | |||||||
Description | Login to Web POS is not possible when having a payment method that is configured as Leave as Credit, associated to the terminal. This happens because these payment methods do not have a financial account when configured in the Terminals. A null pointer exception is thrown in the InitialValidations class. | |||||||
Steps To Reproduce | 1. In the Channel - Touchpoint Type window, Payment Method tab: Configure any payment method as "Leave as Credit". 2. In the Channel - Touchpoint window, Payment Type tab: For any Terminal (of the type that was edited earlier), add a Payment Type and select a Payment Method that is configured as "Leave as Credit". 3. Notice in grid view, that there is no Financial Account defined (this is correct). 4. Login to this Terminal defined in point 2. 5. This message is shown to the user: "Error loading Terminal Properties Attempted to login using cache but there is not enough data in cache. Please check you internet connection and click reload to refresh the page. If the problem persists please contact your System Administrator." 6. A stack trace is printed on the openbravo.log with the message: ERROR org.openbravo.retail.posterminal.term.Terminal - Terminal exception: nullStacktrace: [Ljava.lang.StackTraceElement;@6fcad76d 7. User cannot login | |||||||
Proposed Solution | Fix the null pointer in InitialValidations.java at line 149. A check should be made in case Financial Account is null. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0109566) hgbot (developer) 2019-02-05 09:04 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 65e590558a3518b0bb2ea4032077fbbc0ef0eaff Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Feb 05 13:34:45 2019 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/65e590558a3518b0bb2ea4032077fbbc0ef0eaff [^] Fixed issue 40110 : Validation Payment Type Financial Account in Inital Validation * For Leave As Credit Payment method, Financial Account will be empty in Payment Types Above Validation need to be checked in POS Initial Validations --- M src/org/openbravo/retail/posterminal/InitialValidations.java --- |
(0109651) jorge-garcia (viewer) 2019-02-06 17:06 |
Code reviewed and tested |
![]() |
|||
Date Modified | Username | Field | Change |
2019-02-01 16:17 | lbressan | New Issue | |
2019-02-01 16:17 | lbressan | Assigned To | => Retail |
2019-02-01 16:17 | lbressan | OBNetwork customer | => OBPS |
2019-02-01 16:17 | lbressan | Support ticket | => 7711 |
2019-02-01 16:17 | lbressan | Resolution time | => 1550185200 |
2019-02-01 16:17 | lbressan | Triggers an Emergency Pack | => No |
2019-02-04 10:03 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-02-04 10:03 | ranjith_qualiantech_com | Status | new => scheduled |
2019-02-05 09:04 | hgbot | Checkin | |
2019-02-05 09:04 | hgbot | Note Added: 0109566 | |
2019-02-05 09:04 | hgbot | Status | scheduled => resolved |
2019-02-05 09:04 | hgbot | Resolution | open => fixed |
2019-02-05 09:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/65e590558a3518b0bb2ea4032077fbbc0ef0eaff [^] |
2019-02-06 16:43 | jorge-garcia | Review Assigned To | => jorge-garcia |
2019-02-06 17:06 | jorge-garcia | Note Added: 0109651 | |
2019-02-06 17:06 | jorge-garcia | Status | resolved => closed |
2019-02-06 17:06 | jorge-garcia | Fixed in Version | => RR19Q2 |
Copyright © 2000 - 2009 MantisBT Group |