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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058059
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] J. Demo datamajoralways2025-02-24 13:292025-02-24 15:01
Reporterasier_perezView Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058059: Junit test fails when configuring Extended Assortment in sample data

DescriptionWhen 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 Reproduce1) 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
TagsNo tags attached.
Attached Filespng file icon extendedAssortmentError.png [^] (209,567 bytes) 2025-02-24 13:29

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker