Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Open APImajoralways2022-05-24 18:382022-06-01 18:00
ReportervmromanosView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release

0049393: Performance improvements in goods movement and physical inventory import

DescriptionAfter checking a yourkit snapshot (goods movement), it has been detected that the process is spending too much time trying to get the locator for each line.

For each line, the process queries the database to retrieve the locator. The query is very fast, but we might execute it many times (depending on the request size), so the total time is high.

The process can be easily optimized by having a cache (like we have with the lineNo calculation). So if the provided locator in the json is not in the cache, we will query the database and we will save the ID (or Proxy object) in the cache for next calculation.

Steps To ReproduceNA
Proposed SolutionReview ImportInventoryLineJavaPropertyMappingHandler and ImportGoodsMvmtLineJavaPropertyMappingHandler to implement a cache over the locator calculation
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049329 closedTriage Omni WMS Openbravo ERP Openbravo API to support Goods Movement 
related to feature request 0049155 closedTriage Omni WMS Openbravo ERP Openbravo API to support Physical Inventories 

-  Notes
hgbot (developer)
2022-05-25 15:10

Merge Request created: [^]
hgbot (developer)
2022-06-01 18:00

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 89dd26073e21611e955490eb405ddde2e44cf0c9
Author: Prakash M <>
Date: 01-06-2022 16:00:44
URL: [^]

Fixes ISSUE-49393: Locator details are cached to avoid querying again and therefore improves performance

M src/org/openbravo/api/mappings/goodsmovementline/
M src/org/openbravo/api/mappings/inventoryline/
M src/org/openbravo/api/util/
hgbot (developer)
2022-06-01 18:00

Merge request merged: [^]

- Issue History
Date Modified Username Field Change
2022-05-24 18:38 vmromanos New Issue
2022-05-24 18:38 vmromanos Assigned To => Triage Platform Conn
2022-05-24 18:39 vmromanos Relationship added related to 0049329
2022-05-24 18:39 vmromanos Relationship added related to 0049155
2022-05-25 15:10 hgbot Note Added: 0137725
2022-06-01 18:00 hgbot Resolution open => fixed
2022-06-01 18:00 hgbot Status new => closed
2022-06-01 18:00 hgbot Note Added: 0137952
2022-06-01 18:00 hgbot Note Added: 0137953

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker