Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0058059 | Openbravo ERP | J. Demo data | public | 2025-02-24 13:29 | 2025-02-24 15:01 |
Reporter | asier_perez | ||||
Assigned To | AtulOpenbravo | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0058059: Junit test fails when configuring Extended Assortment in sample data | ||||
Description | When adding the proper configuration to use Extended Assortment to the sample data, some junit tests fail. It seems that those tests and/or some related java classes have to be adapted to be able to use the Extended Assortment correctly. The failing tests are the following (see the error in the attachment): - org.openbravo.distributionorder.purchase.PurchaseAssortmentLineValidationTest.validateRequisitionLine - org.openbravo.distributionorder.purchase.PurchaseAssortmentLineValidationTest.validateDistributionOrderReceiptLine | ||||
Steps To Reproduce | 1) Log in to the back office with "The White Valley Group Admin" role 2) Go to the "Organization" window, and open the "Vall Blanca Store" record, then change the following fields - In-Store Assortment: White Valley Group Product List - Extended Assortment: VBS POS Terminal Type Product List - Product Search Target: User-Defined in Search Window 3) Save the record 4) Go to the "Channel - Touchpoint Type" window, and open the "POS2SD VBS POS2 Terminal Type" record, then change the following fields: - In-Store Assortment: White Valley Group Product List - Extended Assortment: VBS POS Terminal Type Product List 5) Save the record 6) Go to the "Assortment" window 7) Select the "VBS POS Terminal Type Product List" record 8) Click on the "Include All Products" button 9) Export the changes as sample data: - To org.openbravo.retail.sampledata for the changes in "Organization" and "Assortment" - To org.openbravo.pos2.sampledata for the changes in "Channel - Touchpoint Type" 10) Open the following file in a text editor: org.openbravo.retail.sampledata/referencedata/sampledata/The_White_Valley_Group/OBRETCO_PROL_PRODUCT.xml 11) Remove the records that have the following M_PRODUCT_ID, since they reference tables from other modules: - 9F27DC38FC344178BAB982B72874EE2B - 804659E1FCD44957BBF89B67B0055560 - All products with the CREATED field in a previous date to today 12) Shut tomcat down, then execute "ant install.source" and "ant build", and restart tomcat 13) Execute the org.openbravo.distributionorder.purchase.PurchaseAssortmentLineValidationTest tests | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=20953&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2025-02-24 13:29 | asier_perez | New Issue | |||
2025-02-24 13:29 | asier_perez | Assigned To | => AtulOpenbravo | ||
2025-02-24 13:29 | asier_perez | File Added: extendedAssortmentError.png | |||
2025-02-24 13:29 | asier_perez | Modules | => Core | ||
2025-02-24 13:29 | asier_perez | Triggers an Emergency Pack | => No | ||
2025-02-24 15:01 | asier_perez | Category | 01. General setup => J. Demo data |
There are no notes attached to this issue. |