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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045919
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2021-02-18 14:112021-03-04 12:55
ReporterALopeteguiView Statuspublic 
Assigned Torqueralta 
PrioritynormalResolutionfixedFixed in VersionRR21Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q3.1SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045919: Extra join of product table in master.product

DescriptionIn posterminal master.Product.java class, the regular product hql makes and extra join with the table m_product.

There is a first condition to left join OBRETCO_Prol_Product with productImages through product table, and then there is again a join with product.
Steps To ReproduceIn any query of the product search or master data load.
Proposed SolutionJoin OBRETCO_Prol_Product with m_product first, and then left join with images.

Patch attached.
TagsNOR, Performance
Attached Filespatch file icon masterProduct.patch [^] (892 bytes) 2021-02-18 14:11 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045055 closedranjith_qualiantech_com Retail Modules Incremental refresh of ProductCharacteristic cannot use index on updated 
related to defect 0045144 closedprakashmurugesan88 Retail Modules Fix incremental and full refresh with Multi Tax Category module 
related to defect 0045467 closedprakashmurugesan88 Retail Modules Performance issues on the model CharacteristicValue 
related to feature request 0045056 newRetail Retail Modules Faster insertion of big amounts of data in full refresh in indexedDB 
has duplicate defect 0044911 closedranjith_qualiantech_com Retail Modules Incremental refresh of Product cannot use index on updated 
related to design defect 0045922 acknowledgedTriage Platform Base Openbravo ERP Extra self-join with main table when using computed columns 

-  Notes
(0126384)
hgbot (developer)
2021-02-28 03:34

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/328 [^]
(0126397)
hgbot (developer)
2021-03-01 07:40

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 69e68f5fb10907e197e4d5145902f42cfa733e4a
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-03-01T06:39:51+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/69e68f5fb10907e197e4d5145902f42cfa733e4a [^]

Fixed BUG-45919: Removed extra join of product table in master.product

---
M src/org/openbravo/retail/posterminal/master/Product.java
---
(0126398)
hgbot (developer)
2021-03-01 07:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/328 [^]

- Issue History
Date Modified Username Field Change
2021-02-18 14:11 ALopetegui New Issue
2021-02-18 14:11 ALopetegui Assigned To => Retail
2021-02-18 14:11 ALopetegui File Added: masterProduct.patch
2021-02-18 14:11 ALopetegui Resolution time => 1617400800
2021-02-18 14:11 ALopetegui Triggers an Emergency Pack => No
2021-02-18 18:05 ALopetegui Tag Attached: Performance
2021-02-22 00:20 rqueralta Assigned To Retail => rqueralta
2021-02-22 10:44 rafaroda Tag Attached: NOR
2021-02-22 10:46 rafaroda Relationship added related to 0045922
2021-02-22 10:47 rafaroda Relationship added has duplicate 0044911
2021-02-22 10:47 rafaroda Relationship added related to 0045055
2021-02-22 10:47 rafaroda Relationship added related to 0045144
2021-02-22 10:48 rafaroda Relationship added related to 0045467
2021-02-24 09:53 rafaroda Resolution time 1617400800 => 1614726000
2021-02-28 03:34 hgbot Note Added: 0126384
2021-03-01 07:40 hgbot Resolution open => fixed
2021-03-01 07:40 hgbot Status new => closed
2021-03-01 07:40 hgbot Fixed in Version => RR21Q2
2021-03-01 07:40 hgbot Note Added: 0126397
2021-03-01 07:40 hgbot Note Added: 0126398
2021-03-04 12:55 rafaroda Relationship added related to 0045056


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker