Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047310Retail ModulesOffline Modepublic2021-07-01 00:112021-07-08 07:39
lbressan 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
 
RR21Q4 
No
0047310: The POS stops Printing after processing more than 300 tickets in offline mode
The problem was detected in version 20Q4, but it is also reproducible in version 21Q2

When working in a Terminal in offline mode, when the amount of 300 tickets is passed, the pos stops printing the tickets.

The problem is in the MessageModelControllerDefinition in particular in the findAll function it is taking a default limit of 300. As in our case we already have more than 300, the array of messages always returns the first 300 and the following no longer check them.
This limit is defined in the constant DEFAULT_QUERY_LIMIT

I attach the images of the code

1- You are offline
2 - You make more than 300 tickets (you can also change the constant temporarily to 10 to reproduce it)
3- Stop printing
No tags attached.
depends on backport 0047362RR21Q3 closed ranjith_qualiantech_com The POS stops Printing after processing more than 300 tickets in offline mode 
depends on backport 0047363RR21Q2.1 closed ranjith_qualiantech_com The POS stops Printing after processing more than 300 tickets in offline mode 
depends on backport 0047364RR21Q1.4 closed ranjith_qualiantech_com The POS stops Printing after processing more than 300 tickets in offline mode 
rar IMG-25926.rar (1,314,637) 2021-07-01 00:11
https://issues.openbravo.com/file_download.php?file_id=15981&type=bug
Issue History
2021-07-01 00:11lbressanNew Issue
2021-07-01 00:11lbressanAssigned To => Retail
2021-07-01 00:11lbressanFile Added: IMG-25926.rar
2021-07-01 00:11lbressanResolution time => 1625522400
2021-07-01 00:11lbressanTriggers an Emergency Pack => No
2021-07-01 00:50PracticsIssue Monitored: Practics
2021-07-05 09:27ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-07-07 11:25hgbotNote Added: 0130219
2021-07-08 07:27marvintmStatusnew => acknowledged
2021-07-08 07:27marvintmStatusacknowledged => scheduled
2021-07-08 07:39hgbotNote Added: 0130261
2021-07-08 07:39hgbotResolutionopen => fixed
2021-07-08 07:39hgbotStatusscheduled => closed
2021-07-08 07:39hgbotFixed in Version => RR21Q4
2021-07-08 07:39hgbotNote Added: 0130262

Notes
(0130219)
hgbot   
2021-07-07 11:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/249 [^]
(0130261)
hgbot   
2021-07-08 07:39   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/249 [^]
(0130262)
hgbot   
2021-07-08 07:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 7c0297e65cf1263471d1f10bb42b51c20d5d4534
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-07-08T05:38:37+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/7c0297e65cf1263471d1f10bb42b51c20d5d4534 [^]

Fixed ISSUE-47310: Added MaxValue to get Synchronizable Messages

---
M web/org.openbravo.mobile.core/app/model/synchronization-buffer/SynchronizationBuffer.js
---