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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048486
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2022-01-26 15:062022-03-08 07:20
ReportermigueldejuanaView Statuspublic 
Assigned Togorka_gil 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048486: Masterdata model with several queries is not retrievieng all data using batches

DescriptionWe have a Masterdata model which returns more than one query in getQuery method in the Java that extends ProccessHQLQuery. If "Masterdata models batch size" preference is defined and the value is multiple of the rows returned by the first query in our Model, we do not reset the offset for next queries and it only retrieves the data starting from the last offset instead of starting again from 0.
Steps To Reproduce- Login in https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.warehouse.advancedwarehouseoperations/ [^]
- Check in the developers tools that there are 36 Locators --> 33 regular locators and 3 external locators(trucks)
- Define "Masterdata models batch size" to 3
- Client browser storage and login again
- Check in the developers tools that there are 33 Locators --> 33 regular locators and 0 external locators(trucks)
ERROR! External locators are not loaded because the offset was 33 instead of 0

This example is in AWO but it affects all apps.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0134578)
hgbot (developer)
2022-01-26 15:21

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/323 [^]

- Issue History
Date Modified Username Field Change
2022-01-26 15:06 migueldejuana New Issue
2022-01-26 15:06 migueldejuana Assigned To => migueldejuana
2022-01-26 15:06 migueldejuana Triggers an Emergency Pack => No
2022-01-26 15:21 hgbot Note Added: 0134578
2022-01-26 15:25 migueldejuana Review Assigned To => marvintm
2022-03-08 07:20 migueldejuana Assigned To migueldejuana => gorka_gil


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker