Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038015 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | sometimes | 2018-02-28 13:11 | 2018-03-02 21:18 | |||
Reporter | dmiguelez | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6340f0b9d910 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | dmiguelez | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038015: Referenced Inventory. Attribute Value not copied correctly when Boxing stock | |||||||
Description | Referenced Inventory. Attribute Value not copied correctly when Boxing stock. The original Attribute Value is lost | |||||||
Steps To Reproduce | As F&B Admin Create a new Referenced Inventory Type without sequence Create a new Attribute Set With the flags Require At Leas One Value and SerialNo. checked Create one Product that uses the created Attribute Set Create another Product without any Attribute Set Create a Goods Receipt with two lines, one for each Product, with 10 as quantity and an Attribute value for the Product with Attribute Set Create a Reference Inventory and click on Box Select the Product without Attribute and set 5 units Select the Product with Attribute and set 5 units Set any Storage Bin and click on done Check in the Contents Tab that the Product with an Attribute has lost the original Attribute Set Value, it only has the value of the box | |||||||
Tags | No tags attached. | |||||||
Attached Files | 38015.diff [^] (7,128 bytes) 2018-02-28 13:49 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0102898) hgbot (developer) 2018-03-01 10:30 |
Repository: erp/devel/pi Changeset: 6340f0b9d91026172740f9bc72b78c833156b836 Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Wed Feb 28 13:48:35 2018 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/6340f0b9d91026172740f9bc72b78c833156b836 [^] Fixed bug 38015: [ri] Attribute Set sometimes is not copied when multiboxing When calculating the new attribute set instance per storage detail for boxing, the system first tries to recover any previously cloned attribute set instance for this referenced inventory. It can find it either in the cache created in this boxing execution, or by searching in the database for an existing attribute from a previous boxing activity for the same attribute. If a previously cloned attribute set instance is not found, it creates a new one. The existing index has been extended to perform properly in the query to search for an existing cloned attribute set instance. --- M src-db/database/model/tables/M_ATTRIBUTESETINSTANCE.xml M src/org/openbravo/materialmgmt/refinventory/BoxProcessor.java M src/org/openbravo/materialmgmt/refinventory/ReferencedInventoryUtil.java --- |
(0102899) hgbot (developer) 2018-03-01 10:40 |
Repository: erp/devel/pi Changeset: cfce67ebea69df936e0c2fc88be86c49d97f7340 Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Thu Mar 01 10:39:18 2018 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/cfce67ebea69df936e0c2fc88be86c49d97f7340 [^] Related to Issue 38015. Ensure that the new Attribute is always active. This can happen when cloning the Attribute set instance with id 0, that can be not active. --- M src/org/openbravo/materialmgmt/refinventory/ReferencedInventoryUtil.java --- |
(0102900) dmiguelez (developer) 2018-03-01 10:43 |
Test Plan: As F&B Admin Create a new Referenced Inventory Type without sequence Create a new Attribute Set With the flags Require At Leas One Value and SerialNo. checked Create one Product that uses the created Attribute Set Create another Product without any Attribute Set Create a Goods Receipt with two lines, one for each Product, with 10 as quantity and an Attribute value for the Product with Attribute Set Create a Reference Inventory and click on Box Select the Product without Attribute and set 5 units Select the Product with Attribute and set 5 units Set any Storage Bin and click on done Check in the Contents Tab that the Product with an Attribute has kept the original Attribute Set Value, it has both the values of the original attribute and the box |
(0102901) dmiguelez (developer) 2018-03-01 10:43 |
Code Review + Testing Ok |
(0102959) hudsonbot (developer) 2018-03-02 21:18 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/05dece3dc80b [^] Maturity status: Test |
(0102960) hudsonbot (developer) 2018-03-02 21:18 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/05dece3dc80b [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2018-02-28 13:11 | dmiguelez | New Issue | |
2018-02-28 13:11 | dmiguelez | Assigned To | => Triage Finance |
2018-02-28 13:11 | dmiguelez | Modules | => Core |
2018-02-28 13:11 | dmiguelez | Triggers an Emergency Pack | => No |
2018-02-28 13:12 | dmiguelez | Assigned To | Triage Finance => vmromanos |
2018-02-28 13:42 | vmromanos | Reproducibility | always => sometimes |
2018-02-28 13:42 | vmromanos | Status | new => scheduled |
2018-02-28 13:49 | vmromanos | File Added: 38015.diff | |
2018-02-28 13:49 | vmromanos | Relationship added | related to 0037827 |
2018-03-01 10:30 | hgbot | Checkin | |
2018-03-01 10:30 | hgbot | Note Added: 0102898 | |
2018-03-01 10:30 | hgbot | Status | scheduled => resolved |
2018-03-01 10:30 | hgbot | Resolution | open => fixed |
2018-03-01 10:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6340f0b9d91026172740f9bc72b78c833156b836 [^] |
2018-03-01 10:40 | hgbot | Checkin | |
2018-03-01 10:40 | hgbot | Note Added: 0102899 | |
2018-03-01 10:43 | dmiguelez | Note Added: 0102900 | |
2018-03-01 10:43 | dmiguelez | Review Assigned To | => dmiguelez |
2018-03-01 10:43 | dmiguelez | Note Added: 0102901 | |
2018-03-01 10:43 | dmiguelez | Status | resolved => closed |
2018-03-01 10:43 | dmiguelez | Fixed in Version | => 3.0PR18Q2 |
2018-03-02 21:18 | hudsonbot | Checkin | |
2018-03-02 21:18 | hudsonbot | Note Added: 0102959 | |
2018-03-02 21:18 | hudsonbot | Checkin | |
2018-03-02 21:18 | hudsonbot | Note Added: 0102960 |
Copyright © 2000 - 2009 MantisBT Group |