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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052907
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-07-03 10:062023-07-21 14:23
ReportermalsasuaView Statuspublic 
Assigned Tomeriem_azaf 
PriorityhighResolutionfixedFixed in Version23Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelCoding ( Testing )
Regression date2023-06-05
Regression introduced in release
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/be2b7bb397472c32d16993c52cddad94d1ce80f2 [^]
Triggers an Emergency PackNo
Summary

0052907: Login offline is not working

DescriptionThe login offline is not working, it is returning error:
Error
Cannot read properties of undefined (reading 'OBC2_BarcodeScanner_avgTimeByChar')

Steps To Reproduce1. do login with user vallblanca
2. complete a ticket
3. click in "vallblanca" button -> do logout
4. open dev tools -> network -> offline
5. login with user vallblanca
6. complete a ticket
7. click in "vallblanca" button -> do logout
8. refresh browser (F5)
9. login with user vallblanca -> error:
Cannot read properties of undefined (reading 'OBC2_BarcodeScanner_avgTimeByChar')

TagsNo tags attached.
Attached Filespng file icon Screenshot from 2023-07-03 10-06-02.png [^] (22,458 bytes) 2023-07-03 10:07

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0052092 closedgonzalo_fernandez Store a single copy of the Terminal in IndexedDB 
related to defect 0052271 closedmeriem_azaf Till is blocked if we try to access keymap editor in offline mode - when terminal still does not know that it was offline 

-  Notes
(0152726)
hgbot (developer)
2023-07-20 13:54

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1177 [^]
(0152798)
hgbot (developer)
2023-07-21 14:23

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: a04ceb6d288590fe2e50d631541027f68c98d35e
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 21-07-2023 12:22:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a04ceb6d288590fe2e50d631541027f68c98d35e [^]

Fixes ISSUE-52907: Login offline is not working

The login offline is not working, it is returning error: Error Cannot read properties of undefined (reading 'OBC2_BarcodeScanner_avgTimeByChar').

The problem here that the property permissions was null in dbTerminal in restoreSession and undifined in LoginProcess. So we get it from the dbUser.userProps.

---
M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js
M web-jspack/org.openbravo.core2/src/core/authentication/RestoreSession.js
---
(0152799)
hgbot (developer)
2023-07-21 14:23

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

- Issue History
Date Modified Username Field Change
2023-07-03 10:06 malsasua New Issue
2023-07-03 10:06 malsasua Assigned To => Retail
2023-07-03 10:06 malsasua Triggers an Emergency Pack => No
2023-07-03 10:07 malsasua File Added: Screenshot from 2023-07-03 10-06-02.png
2023-07-03 10:47 ebecerra Assigned To Retail => ebecerra
2023-07-03 10:48 ebecerra Status new => scheduled
2023-07-13 09:57 guilleaer Assigned To ebecerra => meriem_azaf
2023-07-20 10:26 meriem_azaf Relationship added caused by 0052092
2023-07-20 10:28 meriem_azaf Relationship added related to 0052271
2023-07-20 10:34 meriem_azaf Regression level => Coding ( Testing )
2023-07-20 10:34 meriem_azaf Regression date => 2023-06-05
2023-07-20 10:34 meriem_azaf Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/be2b7bb397472c32d16993c52cddad94d1ce80f2 [^]
2023-07-20 13:54 hgbot Note Added: 0152726
2023-07-21 14:23 hgbot Resolution open => fixed
2023-07-21 14:23 hgbot Status scheduled => closed
2023-07-21 14:23 hgbot Fixed in Version => 23Q4
2023-07-21 14:23 hgbot Note Added: 0152798
2023-07-21 14:23 hgbot Note Added: 0152799


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker