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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047310
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Offline Modemajoralways2021-07-01 00:112021-07-08 07:39
ReporterlbressanView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR21Q4
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

0047310: The POS stops Printing after processing more than 300 tickets in offline mode

DescriptionThe 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
Steps To Reproduce
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
TagsNo tags attached.
Attached Filesrar file icon IMG-25926.rar [^] (1,314,637 bytes) 2021-07-01 00:11

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0047362RR21Q3 closedranjith_qualiantech_com The POS stops Printing after processing more than 300 tickets in offline mode 
depends on backport 0047363RR21Q2.1 closedranjith_qualiantech_com The POS stops Printing after processing more than 300 tickets in offline mode 
depends on backport 0047364RR21Q1.4 closedranjith_qualiantech_com The POS stops Printing after processing more than 300 tickets in offline mode 

-  Notes
(0130219)
hgbot (developer)
2021-07-07 11:25

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/249 [^]
(0130261)
hgbot (developer)
2021-07-08 07:39

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/249 [^]
(0130262)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2021-07-01 00:11 lbressan New Issue
2021-07-01 00:11 lbressan Assigned To => Retail
2021-07-01 00:11 lbressan File Added: IMG-25926.rar
2021-07-01 00:11 lbressan Resolution time => 1625522400
2021-07-01 00:11 lbressan Triggers an Emergency Pack => No
2021-07-01 00:50 Practics Issue Monitored: Practics
2021-07-05 09:27 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-07-07 11:25 hgbot Note Added: 0130219
2021-07-08 07:27 marvintm Status new => acknowledged
2021-07-08 07:27 marvintm Status acknowledged => scheduled
2021-07-08 07:39 hgbot Note Added: 0130261
2021-07-08 07:39 hgbot Resolution open => fixed
2021-07-08 07:39 hgbot Status scheduled => closed
2021-07-08 07:39 hgbot Fixed in Version => RR21Q4
2021-07-08 07:39 hgbot Note Added: 0130262


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker