Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047671Retail ModulesWeb POSpublic2021-09-10 12:232021-09-10 12:35
prakashmurugesan88 
prakashmurugesan88 
normalmajoralways
closedfixed 
5
 
RR21Q4 
marvintm
2021-08-16
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/6cf75dd592aba8967cc00ad0c1adadcc3ee848ef#118d8739ba276df2646719d10c7744f7869da9bd_118_128 [^]
No
0047671: Multipricelist tests are failing in high volume
Multipricelist tests are failing in high volume

https://builds.openbravo.com/view/retail-highvol/job/ret-highvol-pgsql/330/ [^]

Log has following error,
2021-09-09 19:57:26,116 [http-9] ERROR org.openbravo.mobile.core.process.ProcessHQLQuery - org.openbravo.retail.posterminal.master.ProductPrice: Error when generating query: select ppp.id as id,
ppp.id as m_productprice_id,
plv.priceList.id as m_pricelist_id,
ppp.product.id as m_product_id,
ppp.listPrice as pricelist,
ppp.standardPrice as pricestd,
ppp.priceLimit as pricelimit,
plv.validFromDate as validFromDate,
ppp.active as active from OBRETCO_Prol_Product as pli, PricingProductPrice ppp left join ppp.priceListVersion as plv where pli.product.id = ppp.product.id and pli.obretcoProductlist.id = :productListId and plv.active = true and exists ( select 1 from PricingPriceListVersion plv, BusinessPartner bp where plv.priceList.id = bp.priceList.id and ( (bp.client.id in ('39363B0921BB4293B48383844325E84C', '0')) and (bp.active = 'Y') ) and ( bp.organization.id in (:valueEqArray2 )) and plv.active = true and plv.validFromDate = ( select max(plv2.validFromDate) from PricingPriceListVersion as plv2 where plv.priceList.id = plv2.priceList.id and plv2.validFromDate <= :validFromDate group by plv2.priceList.id ) and plv.priceList.id <> (:priceList) and plv.id = ppp.priceListVersion.id and bp.customer='Y' ) and ( (ppp.product.id=:valueEqId0 ) AND (plv.priceList.id=:valueEqId1 ) ) and 1=1 and ( pli.organization.id in (:valueEqArray2 )) and ( (pli.client.id in ('39363B0921BB4293B48383844325E84C', '0')) and (pli.active = 'Y') ) and ( (pli.active = 'Y') and (plv.priceList.active = 'Y') and (ppp.active = 'Y') ) and 1=1 order by ppp.id asc (could not extract ResultSet)
org.hibernate.exception.GenericJDBCException: could not extract ResultSet
Test failing in highvolume,

https://builds.openbravo.com/view/retail-highvol/job/ret-highvol-pgsql/330/ [^]
No tags attached.
related to defect 0047262 closed ranjith_qualiantech_com Incremental refresh not updating business partner product price 
Issue History
2021-09-10 12:23prakashmurugesan88New Issue
2021-09-10 12:23prakashmurugesan88Assigned To => prakashmurugesan88
2021-09-10 12:23prakashmurugesan88Regression date => 2021-08-16
2021-09-10 12:23prakashmurugesan88Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/6cf75dd592aba8967cc00ad0c1adadcc3ee848ef#118d8739ba276df2646719d10c7744f7869da9bd_118_128 [^]
2021-09-10 12:23prakashmurugesan88Triggers an Emergency Pack => No
2021-09-10 12:27prakashmurugesan88Statusnew => scheduled
2021-09-10 12:32prakashmurugesan88Note Added: 0131699
2021-09-10 12:35hgbotResolutionopen => fixed
2021-09-10 12:35hgbotStatusscheduled => resolved
2021-09-10 12:35hgbotFixed in Version => RR21Q4
2021-09-10 12:35hgbotNote Added: 0131700
2021-09-10 12:35marvintmReview Assigned To => marvintm
2021-09-10 12:35marvintmStatusresolved => closed
2021-10-18 11:53ranjith_qualiantech_comRelationship addedrelated to 0047262

Notes
(0131699)
prakashmurugesan88   
2021-09-10 12:32   
Created Merge Request,
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/571 [^]
(0131700)
hgbot   
2021-09-10 12:35   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 043a2000e26a51e9dec955c10de0c3c058753e8a
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-09-10T15:59:03+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/043a2000e26a51e9dec955c10de0c3c058753e8a [^]

Fixed BUG-47671: Removed bp readableClientCriteria validation in ProductPrice
* As it creates performance regression in HighVolume

---
M src/org/openbravo/retail/posterminal/master/ProductPrice.java
---