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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047362
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Offline Modemajoralways2021-07-01 00:112021-07-12 16:21
ReporterlbressanView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR21Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR21Q3
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

0047362: 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 Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0047310 closedranjith_qualiantech_com The POS stops Printing after processing more than 300 tickets in offline mode 

-  Notes
(0130360)
hgbot (developer)
2021-07-11 16:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/254 [^]
(0130374)
hgbot (developer)
2021-07-12 16:21

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 458d1d992d1db4b02cb6b03fa03cdca4ae26f7a6
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-07-11T19:30:43+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/458d1d992d1db4b02cb6b03fa03cdca4ae26f7a6 [^]

Fixed ISSUE-47362: Added MaxValue to get Synchronizable Messages

---
M web/org.openbravo.mobile.core/app/model/synchronization-buffer/SynchronizationBuffer.js
---
(0130375)
hgbot (developer)
2021-07-12 16:21

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/254 [^]

- Issue History
Date Modified Username Field Change
2021-07-08 07:27 marvintm Type defect => backport
2021-07-08 07:27 marvintm Target Version => RR21Q3
2021-07-11 16:04 hgbot Note Added: 0130360
2021-07-12 16:21 hgbot Resolution open => fixed
2021-07-12 16:21 hgbot Status scheduled => closed
2021-07-12 16:21 hgbot Fixed in Version => RR21Q3
2021-07-12 16:21 hgbot Note Added: 0130374
2021-07-12 16:21 hgbot Note Added: 0130375


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker