Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057947
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POScriticalalways2025-02-11 14:042025-02-11 17:38
ReporterjfvaringotView Statuspublic 
Assigned Tocberner 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057947: POS2 - 24Q4 - Payment is not possible when connecting offline

DescriptionREPRODUCED 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 ReproduceTo 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 SolutionPayment could be done
TagsNo tags attached.
Attached Filespng file icon Offline payment issue - 1.png [^] (86,784 bytes) 2025-02-11 14:04


png file icon Offline payment issue - 2.png [^] (11,398 bytes) 2025-02-11 14:04


png file icon Offline payment issue - 3.png [^] (131,396 bytes) 2025-02-11 14:04


? file icon offline payment issue.mp4 [^] (3,994,213 bytes) 2025-02-11 15:52
png file icon Screenshot from 2025-02-11 16-07-40.png [^] (220,976 bytes) 2025-02-11 16:11

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0057416 closedcberner When going offline and reloading, the error "Not config found for {"impaired":"False","handedness":"Right"}/1860/961" appears 
depends on backport 005795024Q4.2 closedcberner When going offline and reloading, the error "Not config found for {"impaired":"False","handedness":"Right"}/1860/961" appears 

-  Notes
(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 [^]

- Issue History
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
Powered by Mantis Bugtracker