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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057287
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POScriticalalways2024-11-22 09:192024-11-28 11:47
Reportervictor_perezView Statuspublic 
Assigned Tosreehari 
PriorityurgentResolutionfixedFixed in Version24Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version24Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerOBPS
Support ticket
Regression levelProduction - Confirmed Stable
Regression date2024-07-19
Regression introduced in release
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/3b98aafeeaa3a836d09bf8f5bc66c5be4879afeb [^]
Triggers an Emergency PackNo
Summary

0057287: Not possible to login to the POS with the offline mode

DescriptionWhen you have a till loaded, if you activate the offline mode, you will not be able to login again.

The error is thrown from the funtion "loginInitActions", then the line of code "await initializeDocumentSequence();" and finally in the "doFetch" from the screenshot.

You can reproduce it in livebuilds.
Steps To Reproduce

1. Login a till with the online mode activated. IT MUST BE A TILL THAT HAS NOT DONE ANY ORDER (thus the "sequence" value of the main orders document type must have value "0")
2. Once the till is fully loaded, log out
3. Activate the offline mode using Chrome tools
4. Log in to the till
5. An error will appear with the message "This action is not allowed in offline mode"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0057253 closedsreehari Not possible to login to the POS with the offline mode 

-  Notes
(0172698)
hgbot (developer)
2024-11-28 11:37

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3165 [^]
(0172702)
hgbot (developer)
2024-11-28 11:47

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 20cf870e5a2d8cf9a214af0d19b57caea2c02315
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 27-11-2024 12:45:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/20cf870e5a2d8cf9a214af0d19b57caea2c02315 [^]

Fixes ISSUE-57287: Added Undefined checks and try catch blocks

---
M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js
---
(0172703)
hgbot (developer)
2024-11-28 11:47

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3165 [^]

- Issue History
Date Modified Username Field Change
2024-11-26 17:18 marvintm Type defect => backport
2024-11-26 17:18 marvintm Target Version => 24Q4
2024-11-28 11:37 hgbot Merge Request Status => open
2024-11-28 11:37 hgbot Note Added: 0172698
2024-11-28 11:47 hgbot Merge Request Status open => approved
2024-11-28 11:47 hgbot Resolution open => fixed
2024-11-28 11:47 hgbot Status scheduled => closed
2024-11-28 11:47 hgbot Fixed in Version => 24Q4
2024-11-28 11:47 hgbot Note Added: 0172702
2024-11-28 11:47 hgbot Note Added: 0172703


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker