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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055776
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2024-06-14 14:262024-06-19 11:39
ReporterRomain_GesquiereView Statuspublic 
Assigned Tosreehari 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionmainSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055776: Element not loaded on full refresh when batch size < expected elem due to wrong sort by

DescriptionExample attached

-Batch size set as 400
-Expected number of promotion loaded => 25.000
-Promotion actually loaded => 1000


When loading the sort by is wrong so when you're doing the pagination query it is not getting you the next page but a random one starting by a "wrong" lastId.

We get this issue if batch size < expected element to be loaded

The issue seems also to be on DiscountFilterBusinessPartnerGroup and there might be more impacted

Steps To ReproduceSet Batch size set as less than expected loaded element
Perform a full refresh and check amount of element loaded
Proposed SolutionExample in the image attached
TagsNo tags attached.
Attached Filespng file icon image.png [^] (206,617 bytes) 2024-06-14 14:26

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0166054)
sreehari (developer)
2024-06-18 11:54

Steps to Reproduce:
*******************
1. create a preference 'Masterdata models batch size' and set batch size i.e. value=100

2. In discounts and promotion window
    create few required records as per batch size businesspartners and businesspartnercategory for price adjustment discount/promotion type.
    i.e., batch size 2 means create 4 or 5 records in bp tabs

3. Refresh POS and check network tab in dev tools for DiscountFilterBusinessPartner and DiscountFilterBusinessPartnerGroup file
(0166089)
hgbot (developer)
2024-06-19 11:39

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1602 [^]

- Issue History
Date Modified Username Field Change
2024-06-14 14:26 Romain_Gesquiere New Issue
2024-06-14 14:26 Romain_Gesquiere Assigned To => Retail
2024-06-14 14:26 Romain_Gesquiere File Added: image.png
2024-06-14 14:26 Romain_Gesquiere Triggers an Emergency Pack => No
2024-06-14 14:30 william_vermersch Issue Monitored: william_vermersch
2024-06-17 08:07 marvintm Status new => acknowledged
2024-06-17 08:08 sreehari Assigned To Retail => sreehari
2024-06-17 08:08 sreehari Status acknowledged => scheduled
2024-06-18 11:54 sreehari Note Added: 0166054
2024-06-19 11:39 hgbot Note Added: 0166089


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker