Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027905Openbravo ERP01. General setuppublic2014-10-17 14:432014-12-30 23:23
caristu 
daniOpenbravo 
immediateminoralways
closedfixed 
5
pi 
pi 
AtulOpenbravo
Core
Pre packaging ( pi )
2014-10-08
pi
http://code.openbravo.com/erp/devel/pi/rev/a44629203f82fc75c27479afd5f9689d33b644bf [^]
No
0027905: Is not possible to assign a subset to a characteristic
Is not possible to assign a subset to a characteristic
1) Go to the [Product Characteristic] window. Create a new variant characteristic with one subset at least
2) Go to the [Product] window. Create a new generic product
3) Navigate to the [Characteristics] tab. Assign a subset and save the record: The following error appears: Saving failed. 2
The problem is on the ProductCharacteristicEventHandler class. In line 206, in the getValuesToAdd() method, a third value should be added to the strValues array: subsetValue.getCharacteristicValue().isActive().toString()
No tags attached.
caused by defect 00271433.0PR15Q1 closed reinaldoguerra If you disable the characteristics value it is not taken into account when you assign the characteristic to a product 
Issue History
2014-10-17 14:43caristuNew Issue
2014-10-17 14:43caristuAssigned To => dmiguelez
2014-10-17 14:43caristuModules => Core
2014-10-17 14:43caristuRegression level => Pre packaging ( pi )
2014-10-17 14:43caristuRegression date => 2014-10-08
2014-10-17 14:43caristuRegression introduced in release => pi
2014-10-17 14:43caristuRegression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/a44629203f82fc75c27479afd5f9689d33b644bf [^]
2014-10-17 14:43caristuTriggers an Emergency Pack => No
2014-10-17 14:43caristuRelationship addedcaused by 0027143
2014-10-17 14:43caristuAssigned Todmiguelez => AtulOpenbravo
2014-10-20 11:08daniOpenbravoAssigned ToAtulOpenbravo => daniOpenbravo
2014-10-20 11:08daniOpenbravoStatusnew => scheduled
2014-10-20 12:15daniOpenbravoNote Added: 0071042
2014-10-20 12:16daniOpenbravoReview Assigned To => AtulOpenbravo
2014-10-20 12:35hgbotCheckin
2014-10-20 12:35hgbotNote Added: 0071045
2014-10-20 12:35hgbotStatusscheduled => resolved
2014-10-20 12:35hgbotResolutionopen => fixed
2014-10-20 12:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2054a2e3fd60c719b80927a25e4439861947796d [^]
2014-10-21 09:15AtulOpenbravoNote Added: 0071067
2014-10-21 09:15AtulOpenbravoStatusresolved => closed
2014-10-21 09:15AtulOpenbravoFixed in Version => pi
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0072950

Notes
(0071042)
daniOpenbravo   
2014-10-20 12:15   
1) Go to the [Product Characteristic] window. Create a new variant characteristic with one subset at least and some values (for example: Product characteristic=size ; Values: s and m; Subset: small ones). Add values to the subset created before (for example: Characteristic Value=s).

2) Go to the [Product] window. Create a new generic product (Is Generic=Y).

3) Navigate to [Characteristics] tab. Assign our product Characteristic and the subset created on step 1. Save the record: "Error: Saving failed. 2" appears.
(0071045)
hgbot   
2014-10-20 12:35   
Repository: erp/devel/pi
Changeset: 2054a2e3fd60c719b80927a25e4439861947796d
Author: Daniel Ruiz <daniel.ruiz <at> openbravo.com>
Date: Mon Oct 20 12:34:58 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2054a2e3fd60c719b80927a25e4439861947796d [^]

Fixes Issue 27905:Error when assigning subsets to product characteristics

---
M src/org/openbravo/event/ProductCharacteristicEventHandler.java
---
(0071067)
AtulOpenbravo   
2014-10-21 09:15   
Verified
(0072950)
hudsonbot   
2014-12-30 23:23   
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/6525fe229e06 [^]
Maturity status: Test