Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057947 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | critical | always | 2025-02-11 14:04 | 2025-02-11 17:38 | |||
Reporter | jfvaringot | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0057947: POS2 - 24Q4 - Payment is not possible when connecting offline | |||||||
Description | REPRODUCED ON LIVEBUILD - 24Q4 - https://livebuilds.openbravo.com/context/pos2_mp_24Q4/web/pos/?terminal=VBS-2 [^] When you connect to the POS while being already offline, you cannot proceed to the payment of the order. An error message is displayed when clicking on the payment method. ERROR MESSAGE : 'Cannot read properties of undefined (reading 'getProcessPaymentTitleError') | |||||||
Steps To Reproduce | To be sure that it does not come from an old issue from cache, clean the cache first. 1. While online, connect to the POS a 1st time. 2. Do a cash-up. 3. Turn offline (not from devtool, but by disconnecting physically the device from internet) 4. Connect to the POS 5. A first error message is displayed 'Failed to update a ServiceWorker for scope....' (screenshot : Offline payment issue - 1) 6. The POS refreshes (screenshot : Offline payment issue - 2) 7. Some errors are displayed 8. Do a sale 9. When on the payment view, when clicking on a payment method, the error 'Cannot read properties of undefined (reading 'getProcessPaymentTitleError' is displayed (screenshot : Offline payment issue - 3) | |||||||
Proposed Solution | Payment could be done | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() ![]() ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0175493) adrianromero (viewer) 2025-02-11 16:10 |
The root cause of this issue is that OB.App.State.getState().Session.applicationMode is null |
(0175494) cberner (viewer) 2025-02-11 16:24 |
This is related to the following issue: https://issues.openbravo.com/view.php?id=57416 [^] It was backported to 25Q1 but not 24Q4, we're preparing a backport and should also fix this issue. What Adrián says in the previous note is exactly the problem, missing applicationMode in Session State. |
(0175497) cberner (viewer) 2025-02-11 16:58 |
It will be fixed as part of this backport: https://issues.openbravo.com/view.php?id=57950 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2025-02-11 14:04 | jfvaringot | New Issue | |
2025-02-11 14:04 | jfvaringot | Assigned To | => Retail |
2025-02-11 14:04 | jfvaringot | File Added: Offline payment issue - 1.png | |
2025-02-11 14:04 | jfvaringot | Triggers an Emergency Pack | => No |
2025-02-11 14:04 | jfvaringot | File Added: Offline payment issue - 2.png | |
2025-02-11 14:04 | jfvaringot | File Added: Offline payment issue - 3.png | |
2025-02-11 14:57 | migueldejuana | Assigned To | Retail => Triage Platform Conn |
2025-02-11 15:52 | jfvaringot | File Added: offline payment issue.mp4 | |
2025-02-11 16:10 | adrianromero | Note Added: 0175493 | |
2025-02-11 16:10 | migueldejuana | Assigned To | Triage Platform Conn => Triage Platform Base |
2025-02-11 16:11 | adrianromero | File Added: Screenshot from 2025-02-11 16-07-40.png | |
2025-02-11 16:23 | cberner | Relationship added | related to 0057416 |
2025-02-11 16:24 | cberner | Note Added: 0175494 | |
2025-02-11 16:33 | cberner | Assigned To | Triage Platform Base => cberner |
2025-02-11 16:33 | cberner | Status | new => scheduled |
2025-02-11 16:58 | cberner | Note Added: 0175497 | |
2025-02-11 16:59 | cberner | Relationship added | depends on 0057950 |
2025-02-11 17:38 | AugustoMauch | OBNetwork customer | => No |
2025-02-11 17:38 | AugustoMauch | Status | scheduled => resolved |
2025-02-11 17:38 | AugustoMauch | Resolution | open => fixed |
2025-02-11 17:38 | AugustoMauch | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |