Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053374Openbravo ERP01. General setuppublic2023-09-04 14:342023-09-06 08:55
dmytro_tarasov 
dmytro_tarasov 
normalmajoralways
closedfixed 
5
 
 
Core
No
0053374: An error in CI
We removed list of entities from org.openbravo.api to org.openbravo.purchase.api so we need update tests, as it causing errors in CI:
Exported object matches
Expected: matches with <{"client":"The White Valley Group","organization":"The White Valley Group","id":"9F9BC6229E5C48D38F935D7FD5F5BA94","searchKey":"WVG\/L0001","name":"Headlamp ultralight","description":"Ultralight LED headlamp.","upcEAN":"333","uom":"Unit","productCategory":"Lighting & Electronics","taxCategory":"IVA Normal","active":true,"productType":"I","generic":false,"stocked":true,"purchased":true,"sold":true,"showCharactDesc":true,"scale":false,"showStock":false,"allowAnonymousSale":true,"multiSelectable":false,"groupedProduct":true,"printServices":true,"allowDeferredSell":false,"linkedToProduct":false,"uniquePerDocument":false,"priceRuleBased":false,"printDescription":false,"returnable":true,"summaryLevel":false,"billOfMaterials":false,"printDetailsOnInvoice":false,"printDetailsOnPickList":false,"verified":false,"calculated":false,"production":false,"quantityVariable":false,"discontinued":false,"quantityType":false,"printPrice":true,"volume":0,"weight":0,"characteristicValues":{"Range":"29m max","Weight":"Under 1Kg","Use":"Hiking & Trekking","Price":"< 20€","Battery Life":"120h max","Object":"Headlamps","Brand":"Petzl"},"multiUPC":[{"code":"330","active":true}],"complementaryProducts":[]}>
     but: purchased is not present but expected <true>, actual is <{"client":"The White Valley Group","organization":"The White Valley Group","organization_info":{"name":"The White Valley Group","searchKey":"The White Valley Group","id":"67839EEFA49E44AC969BD60093FCC899"},"id":"9F9BC6229E5C48D38F935D7FD5F5BA94","searchKey":"WVG\/L0001","name":"Headlamp ultralight","description":"Ultralight LED headlamp.","upcEAN":"333","uom":"Unit","productCategory":"Lighting & Electronics","taxCategory":"IVA Normal","active":true,"productType":"I","generic":false,"stocked":true,"sold":true,"showCharactDesc":true,"scale":false,"showStock":false,"allowAnonymousSale":true,"multiSelectable":false,"groupedProduct":true,"printServices":true,"allowDeferredSell":false,"linkedToProduct":false,"uniquePerDocument":false,"priceRuleBased":false,"printDescription":false,"returnable":true,"summaryLevel":false,"billOfMaterials":false,"printDetailsOnInvoice":false,"printDetailsOnPickList":false,"verified":false,"calculated":false,"production":false,"quantityVariable":false,"discontinued":false,"quantityType":false,"printPrice":true,"volume":0,"weight":0,"characteristicValues":{"Battery Life":"120h max","Brand":"Petzl","Object":"Headlamps","Price":"< 20€","Range":"29m max","Use":"Hiking & Trekking","Weight":"Under 1Kg"},"multiUPC":[{"code":"330","active":true}],"complementaryProducts":[],"editablePrice":true,"dEAQty":1,"dEEEQty":1,"alternativeUnitOfMeasure":[],"multiTaxCategory":[],"translations":[],"substituteProducts":[]}>
Go to nightly report and check org.openbravo.api and org.openbravo.api.tests for errors
No tags attached.
related to defect 0053357 closed dmytro_tarasov Openbravo ERP java error in org.openbravo.purchase.api/src/org/openbravo/purchase/api/edl/fetcher/PurchasePaymentMethodFetcher.java 
related to design defect 0052666 closed dmytro_tarasov Retail Modules Vendor and Purchasing entities should go to a module outside the pack 
Issue History
2023-09-04 14:34dmytro_tarasovNew Issue
2023-09-04 14:34dmytro_tarasovAssigned To => dmytro_tarasov
2023-09-04 14:34dmytro_tarasovModules => Core
2023-09-04 14:34dmytro_tarasovTriggers an Emergency Pack => No
2023-09-04 14:38hgbotNote Added: 0154417
2023-09-04 14:41hgbotNote Added: 0154418
2023-09-04 16:05dmytro_tarasovRelationship addedrelated to 0053357
2023-09-04 16:09dmytro_tarasovRelationship addedrelated to 0052666
2023-09-05 08:48hgbotResolutionopen => fixed
2023-09-05 08:48hgbotStatusnew => closed
2023-09-05 08:48hgbotNote Added: 0154433
2023-09-05 08:48hgbotNote Added: 0154434
2023-09-05 08:49hgbotNote Added: 0154435
2023-09-05 08:49hgbotNote Added: 0154436
2023-09-06 08:55hgbotNote Added: 0154528

Notes
(0154417)
hgbot   
2023-09-04 14:38   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/46 [^]
(0154418)
hgbot   
2023-09-04 14:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/186 [^]
(0154433)
hgbot   
2023-09-05 08:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: dcbd1d3a05ee0065318d3fed83e5f7637d4b5167
Author: Dmytro <dmytro.tarasov@openbravo.com>
Date: 04-09-2023 12:41:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/dcbd1d3a05ee0065318d3fed83e5f7637d4b5167 [^]

Fixed ISSUE-53374:We removed list of entities from org.openbravo.api to org.openbravo.purchase.api so we need update tests, as it causing errors in CI.

---
M src-test/data/service/ResponseData.json
---
(0154434)
hgbot   
2023-09-05 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/186 [^]
(0154435)
hgbot   
2023-09-05 08:49   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^]
Changeset: 9b6aa07c80ac000237e67344749bbd91241b53ab
Author: Dmytro <dmytro.tarasov@openbravo.com>
Date: 04-09-2023 12:38:22
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/9b6aa07c80ac000237e67344749bbd91241b53ab [^]

Fixed ISSUE-53374:We removed list of entities from org.openbravo.api to org.openbravo.purchase.api so we need update tests, as it causing errors in CI.

---
M src-test/data/export/filter/product/ProductByAssortment.json
M src-test/data/export/filter/product/ProductByComplementaryProduct.json
M src-test/data/export/filter/product/ProductById.json
M src-test/data/export/filter/product/ProductByMultiUPC.json
M src-test/data/export/filter/product/ProductByName.json
M src-test/data/export/filter/product/ProductByOrg.json
M src-test/data/export/filter/product/ProductByOrgName.json
M src-test/data/export/filter/product/ProductByOrgSearchKey.json
M src-test/data/export/filter/product/ProductByProdCategory.json
M src-test/data/export/filter/product/ProductBySearchKey.json
M src-test/data/export/filter/product/ProductByStore.json
M src-test/data/export/filter/product/ProductByUPC.json
M src-test/data/importer/ComplementaryProduct.json
M src-test/data/importer/MultiUPCProduct.json
M src-test/data/importer/Product.json
---
(0154436)
hgbot   
2023-09-05 08:49   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/merge_requests/46 [^]
(0154528)
hgbot   
2023-09-06 08:55   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^]
Changeset: 702d1907458627d5ef360e5e522ac8f19e77c11d
Author: miguel.dejuana <miguel.dejuana@openbravo.com>
Date: 06-09-2023 08:54:22
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/702d1907458627d5ef360e5e522ac8f19e77c11d [^]

Fixed ISSUE-53374:We removed productPurchasing from org.openbravo.api to org.openbravo.purchase.api so we need update tests, as it causing errors in CI.

---
M src-test/data/export/filter/product/ProductByOrg.json
M src-test/data/export/filter/product/ProductByOrgName.json
M src-test/data/export/filter/product/ProductByOrgSearchKey.json
---