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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051354
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Sessionsmajorunable to reproduce2023-01-12 13:032023-03-20 08:01
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051354: When the store is closed, and first till do login, in some cases, it is not possible to complete the login

Descriptionwhen the store is closed, and a till is doing login, if the poss_session property stored in the local storage is {"isActive":true} , popup message is displayed and it is not possible to complete the login
Steps To Reproduce. close store
. in till, in dev tools, go to application > local storage > https://xxx [^] >
 - change the property WebPOS.poss_sessionactive to {"isActive":true}
. do login
popup message is displayed (attached):

Change of Business Date
There was a change in Business Date in the Backoffice. In order to continue, reload is required. Sorry for the inconveniences.

. click in OK or F5
popup is displayed again and it is not possible to complete the login
Proposed SolutionIn this point (when popup is displayed):
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/blob/master/web/org.openbravo.retail.sessions/js/components/loginhook.js#L707 [^]

we should set the property to false:
OB.UTIL.localStorage.setItem('poss_sessionactive', '{"isActive":false}' )
TagsNo tags attached.
Attached Filespng file icon popup.png [^] (46,724 bytes) 2023-01-12 13:03

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045833 closedranjith_qualiantech_com It is possible to have two tills opened at the same time 

-  Notes
(0145523)
hgbot (developer)
2023-01-18 06:02

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/66 [^]
(0145649)
hgbot (developer)
2023-01-19 16:12

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: aebe4a61984f72b498d6cf1d2b3c64c0c0d64142
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 19-01-2023 15:11:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/aebe4a61984f72b498d6cf1d2b3c64c0c0d64142 [^]

Fixed ISSUE-51354: POSS Session should be removed when businessdate is not present
* When POS loaded with session isactive and without cashupcode & businessdate,
  then session isactive should be removed

---
M web/org.openbravo.retail.sessions/js/components/loginhook.js
---
(0145650)
hgbot (developer)
2023-01-19 16:12

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/66 [^]
(0147519)
ranjith_qualiantech_com (developer)
2023-03-14 11:17

Two till opened if Pref. "Enable Close Store process in Web POS" is enabled in the following case.

Backoffice:
1) Add Pref. "Enable Close Store process in Web POS" -> Y
POS
1) Login with user "vallblanca", Open Till, Do Cashup, Close Store
2) Go Offline
3) Login with user "vallblanca", Open Till. Lock Screen
4) Go Online
5) Login with user "demouser", Open Till is displayed. But it should not <--- KO
(0147525)
hgbot (developer)
2023-03-15 06:02

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/73 [^]
(0147675)
hgbot (developer)
2023-03-20 08:01

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/73 [^]
(0147676)
hgbot (developer)
2023-03-20 08:01

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 56e17eb5068f0245919873f2b7a44421c06e63e0
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 14-03-2023 16:27:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/56e17eb5068f0245919873f2b7a44421c06e63e0 [^]

Fixed ISSUE-51354: POS Session should be removed when businessdate is not present
* When login online, businessdate is present in localstorage but not in backoffice,
  then Session info should be removed from localstorage

---
M web/org.openbravo.retail.sessions/js/components/loginhook.js
---

- Issue History
Date Modified Username Field Change
2023-01-12 13:03 malsasua New Issue
2023-01-12 13:03 malsasua Assigned To => Retail
2023-01-12 13:03 malsasua File Added: popup.png
2023-01-12 13:03 malsasua Triggers an Emergency Pack => No
2023-01-12 13:08 malsasua Proposed Solution updated
2023-01-12 18:49 Practics Issue Monitored: Practics
2023-01-13 08:57 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-01-13 09:43 ranjith_qualiantech_com Status new => scheduled
2023-01-13 10:38 ranjith_qualiantech_com Relationship added related to 0045833
2023-01-18 06:02 hgbot Note Added: 0145523
2023-01-19 16:12 hgbot Resolution open => fixed
2023-01-19 16:12 hgbot Status scheduled => closed
2023-01-19 16:12 hgbot Note Added: 0145649
2023-01-19 16:12 hgbot Note Added: 0145650
2023-03-14 11:17 ranjith_qualiantech_com Note Added: 0147519
2023-03-14 11:17 ranjith_qualiantech_com Status closed => new
2023-03-14 11:17 ranjith_qualiantech_com Resolution fixed => open
2023-03-14 12:35 ranjith_qualiantech_com Status new => scheduled
2023-03-15 06:02 hgbot Note Added: 0147525
2023-03-20 08:01 hgbot Note Added: 0147675
2023-03-20 08:01 hgbot Resolution open => fixed
2023-03-20 08:01 hgbot Status scheduled => closed
2023-03-20 08:01 hgbot Note Added: 0147676


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker