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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051930
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorsometimes2023-03-21 14:412024-02-28 12:18
ReporterivazquezView Statuspublic 
Assigned ToAugustoMauch 
PriorityhighResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionPR23Q4.1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051930: IndexedDB data synchronization error

DescriptionA record in the IndexedDB is too large(in this case we assume it is a corrupt Terminal Log), causing the following problem, preventing the till from loading and making it impossible to use.

Attached is JSON extracted from the MessageModel

Steps To ReproduceGo to log in page: login page is not loaded
Error in the console:
Uncaught -> IDBRequest {result: undefined, error: DOMException: Failed to read large IndexedDB value, source: IDBIndex, transaction: IDBTransaction, readyState: 'done', ...}


Commands used to extract the pending information to be synchronized:

await OB.App.MessageModelController.findAll();

With this command, we obtain all the registers, which we copy, and paste into VCode and we see the giant problematic register, which we obtain its id and with the following command we eliminate it:

await OB.App.MessageModelController.delete('ID OF THE PROBLEMATIC RECORD');
TagsNo tags attached.
Attached Files? file icon indexeddbentries.json [^] (4,018,503 bytes) 2023-03-21 14:41
? file icon indexeddbentries2.json [^] (4,015,056 bytes) 2023-03-21 14:42
png file icon Selección_932.png [^] (52,370 bytes) 2023-03-21 16:42


png file icon Selección_931.png [^] (125,527 bytes) 2023-03-21 16:42


? file icon bigTerminalLog.json [^] (2,281,065 bytes) 2024-02-05 16:08
? file icon terminalLogBlock.json [^] (107,677 bytes) 2024-02-05 16:08

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0055014pi closedander_flores Retail Modules IndexedDB data synchronization error - Extremely large Terminal Log caused by the module "Events for client" 
related to defect 0055016RR20Q3.4 closedRajesh_18 Retail Modules IndexedDB data synchronization error - Extremely large Terminal Log caused by the function "updatePendingMultiOrders" 

-  Notes
(0148755)
AugustoMauch (manager)
2023-04-23 23:40

Ignacio,

I am sorry but the way it is reported this issue is not much actionable.

The way you describe the problem, for me the root cause is the bug that causes the corruption of the terminal log. Can you provide some steps to reproduce? The error stack trace could also help.
(0160266)
ivazquez (developer)
2024-02-05 16:08

Dear Augusto,

Unfortunately we do not know how to reproduce it, but this problem happens often not only in CarterCash but also in Maisadour and even in SMCP using the POS2, I will attach a giant terminal log that we extracted today from CCASH to unblock a till and another one from SMCP from last week, we must review it further to stop it from happening because it is a problem where the customer can not do more than notify us to unblock the till.

Regards,
Ignacio Vazquez
(0161370)
AugustoMauch (manager)
2024-02-28 12:18

This seems to be not an infra problem, but a problem related to how the infra is used / business logic bugs. Ignacio will report two separate issues that will target the specific problems described in the two attached log files

- Issue History
Date Modified Username Field Change
2023-03-21 14:41 ivazquez New Issue
2023-03-21 14:41 ivazquez Assigned To => Retail
2023-03-21 14:41 ivazquez File Added: indexeddbentries.json
2023-03-21 14:41 ivazquez Triggers an Emergency Pack => No
2023-03-21 14:42 ivazquez File Added: indexeddbentries2.json
2023-03-21 14:42 ivazquez File Added: Selección_931.png
2023-03-21 14:43 ivazquez File Added: Selección_932.png
2023-03-21 16:32 malsasua Project Retail Modules => Openbravo ERP
2023-03-21 16:32 malsasua Modules => Core
2023-03-21 16:32 malsasua Category Web POS => A. Platform
2023-03-21 16:32 malsasua version RR20Q3.4 =>
2023-03-21 16:32 malsasua Target Version RR20Q3.4 =>
2023-03-21 16:34 caristu Assigned To Retail => Triage Platform Base
2023-03-21 16:37 malsasua Steps to Reproduce Updated View Revisions
2023-03-21 16:40 ivazquez File Deleted: Selección_932.png
2023-03-21 16:40 ivazquez File Deleted: Selección_931.png
2023-03-21 16:42 ivazquez File Added: Selección_932.png
2023-03-21 16:42 ivazquez File Added: Selección_931.png
2023-03-21 18:25 ivazquez Summary IdexedDB data synchronization error => IndexedDB data synchronization error
2023-04-23 23:40 AugustoMauch Note Added: 0148755
2023-04-23 23:40 AugustoMauch Assigned To Triage Platform Base => ivazquez
2023-04-23 23:40 AugustoMauch Status new => feedback
2024-02-05 16:08 ivazquez Note Added: 0160266
2024-02-05 16:08 ivazquez File Added: bigTerminalLog.json
2024-02-05 16:08 ivazquez File Added: terminalLogBlock.json
2024-02-05 16:09 ivazquez Status feedback => new
2024-02-05 16:12 ivazquez Steps to Reproduce Updated View Revisions
2024-02-05 16:12 ivazquez Assigned To ivazquez => Retail
2024-02-05 16:15 ivazquez Assigned To Retail => AugustoMauch
2024-02-05 16:15 ivazquez version => PR23Q4.1
2024-02-28 12:18 AugustoMauch Note Added: 0161370
2024-02-28 12:18 AugustoMauch Status new => closed
2024-02-28 12:18 AugustoMauch Resolution open => no change required
2024-03-20 15:28 ivazquez Relationship added related to 0055014
2024-03-20 16:30 ivazquez Relationship added related to 0055016


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker