Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012168Openbravo ERP02. Master data managementpublic2010-02-08 10:092010-03-10 18:29
sureshbabu 
rafaroda 
highmajoralways
closedfixed 
5
 
pi 
Core
No
0012168: Value cannot be changed for Attribute set field, once the value is set for Attribute Set and Attribute set value fields
Value for "Attribute set value" field cannot be changed, once the value is set for "Attribute Set" and "Attribute set value" fields
Move to product window (Master Data Management || Product || Product ) and click new to create a new product
Enter the below details
Name: Test Product
Description:Test product
and click "Save" button

select Attribute set: Color
Attribute set value field gets enabled
Click the "Attribute Set Value" icon to select value
Select any value

Then i tried to change the "Attribute Set" field value from 'color' to 'size'
And i clicked the "Attribute set value" icon

"Attribute selector " appears

but Attribute set values for "Color" attribute get displayed instead of Attribute set values for "Size"
Attribute Set value
Issue History
2010-02-08 10:09sureshbabuNew Issue
2010-02-08 10:09sureshbabuAssigned To => rafaroda
2010-02-08 10:10sureshbabuTag Attached: Attribute Set value
2010-02-08 10:42rafarodaNote Added: 0024000
2010-02-09 15:12rafarodaStatusnew => scheduled
2010-02-09 15:12rafarodafix_in_branch => pi
2010-02-09 16:49rafarodaNote Added: 0024066
2010-02-09 16:49rafarodaStatusscheduled => resolved
2010-02-09 16:49rafarodaFixed in SCM revision => https://code.openbravo.com/erp/devel/pi-attriset/rev/d566f894014b [^]
2010-02-09 16:49rafarodaResolutionopen => fixed
2010-02-10 08:11sureshbabuNote Added: 0024081
2010-02-10 08:11sureshbabuStatusresolved => closed
2010-02-10 08:11sureshbabuFixed in Version => pi
2010-02-10 12:43anonymoussf_bug_id0 =>
2010-02-10 13:31hgbotCheckin
2010-02-10 13:31hgbotNote Added: 0024118
2010-02-10 13:31hgbotFixed in SCM revisionhttps://code.openbravo.com/erp/devel/pi-attriset/rev/d566f894014b [^] => http://code.openbravo.com/erp/devel/pi/rev/d566f894014b6224f5065b6cf0599d244acf69b0 [^]
2010-02-15 17:37hudsonbotCheckin
2010-02-15 17:37hudsonbotNote Added: 0024344
2010-03-10 18:29anonymoussf_bug_id => 2968020

Notes
(0024000)
rafaroda   
2010-02-08 10:42   
Hi Suresh,

In the Product window, one have always to save after setting or updating the Attribute Set drop-down field. Otherwise, the value is not updated and when opening the Attribute Set Value selector, the Attribute Set value is not properly taken, leading to a no attribute set value message or to a wrong attribute set value drop-down list.

This has not been introduced by the Attribute Set Instance Review project but deserves to have a look at it since it can lead to inconsistent data in the Product header, for instance: Attribute Set = Size and Attribute Set Value = Green.
(0024066)
rafaroda   
2010-02-09 16:49   
Added logic to M_PRODUCT trigger in order to avoid setting wrong attribute set values in the Product tab.
(0024081)
sureshbabu   
2010-02-10 08:11   
Tested the issue
(0024118)
hgbot   
2010-02-10 13:31   
Repository: erp/devel/pi
Changeset: d566f894014b6224f5065b6cf0599d244acf69b0
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Mon Feb 08 22:29:59 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d566f894014b6224f5065b6cf0599d244acf69b0 [^]

Issue 12168 Issue 11513 Added logic to M_PRODUCT trigger in order to avoid setting wrong attribute set values in the Product tab.

---
M src-db/database/model/triggers/M_PRODUCT_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0024344)
hudsonbot   
2010-02-15 17:37   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/d566f894014b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/2596487a564c [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16391.obx [^]