Openbravo Issue Tracking System - POS2
View Issue Details
0055223POS2Corepublic2024-04-17 14:352024-05-07 16:24
alostale 
cberner 
normalmajorhave not tried
newopen 
5
 
24Q2 
Production - Confirmed Stable
2022-03-10
22Q3
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2f9085eac2a9c579fbf9fdaa0958fbbca06ad4cc [^]
No
0055223: duplicated data fetched as part of offline user masterdata models
When requesting data for offline user master data model, lots of duplicated records are fetched. Although they are cleaned up while inserting, it is suboptimal.

1. Log in POS and refresh master data to ensure there is no additional records to fetch
2. Log in BO
3. Check Group - Admin role can approve at least one user action
4. Open User window and select Demouser
5. Update some field (ie. email)
6. Log in POS
7. Refresh masterdata and check the request for OfflineUser model in the network panel
    EXPECTED: 1 row should have been fetched as only one user was modified
    GOT: 28 identical rows, all with the same information for demouser

Inner joins in the queries should be replaced by exists clauses.
Performance
caused by feature request 0048528 closed AugustoMauch Offline Approval Improvements 
Issue History
2024-04-17 14:35alostaleNew Issue
2024-04-17 14:35alostaleAssigned To => Triage Platform Base
2024-04-17 14:35alostaleTriggers an Emergency Pack => No
2024-04-17 14:37alostaleRegression date => 2022-03-10
2024-04-17 14:37alostaleRegression introduced in release => 22Q3
2024-04-17 14:37alostaleRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2f9085eac2a9c579fbf9fdaa0958fbbca06ad4cc [^]
2024-04-17 14:38alostaleTag Attached: Performance
2024-04-17 14:38alostaleRelationship addedcaused by 0048528
2024-04-17 14:38alostaleRegression level => Production - Confirmed Stable
2024-04-19 09:47AugustoMauchAssigned ToTriage Platform Base => cberner
2024-05-07 16:24lorenzofidalgoTarget Version => 24Q2

There are no notes attached to this issue.