Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025115Openbravo ERP02. Master data managementpublic2013-11-08 10:222014-02-12 18:29
caristu 
alostale 
highminoralways
closedfixed 
5
pi 
3.0PR14Q23.0PR14Q2 
AugustoMauch
Core
No
0025115: Not possible to use update characteristics depending on the characteristic name
Is not possible to use update characteristics if the characteristic name contains a slash (/)
1) Go to product characteristics window and create a new non-variant characteristic with the following name: A/B
2) Create some values for this characteristic
3) Go to the product window, and create a new product an assign the characteristic created in step 1) to it.
4) Click on the Update Characteristics button. Notice that the drop down list is not displaying any value.
5) In the Product Characteristic window again, update the characteristic name, removing the slash: AB
6) Click on the Update Characteristics button. Now the drop down list displays the characteristics values
No tags attached.
Issue History
2013-11-08 10:22caristuNew Issue
2013-11-08 10:22caristuAssigned To => caristu
2013-11-08 10:22caristuModules => Core
2013-11-08 10:22caristuTriggers an Emergency Pack => No
2013-11-08 10:22caristuIssue Monitored: networkb
2013-11-08 10:29caristuAssigned Tocaristu => jonalegriaesarte
2013-11-11 16:38jonalegriaesarteTarget Version3.0MP30 => 3.0MP31
2013-12-09 16:11jonalegriaesarteTarget Version3.0MP31 => 3.0MP32
2014-01-19 08:54gauravdeshmukhAssigned Tojonalegriaesarte => gauravdeshmukh
2014-01-27 11:39dmiguelezAssigned Togauravdeshmukh => dbaz
2014-01-27 15:49alostaleNote Added: 0063720
2014-01-27 15:59alostaleAssigned Todbaz => alostale
2014-01-27 15:59alostaleReview Assigned To => AugustoMauch
2014-01-27 16:03hgbotCheckin
2014-01-27 16:03hgbotNote Added: 0063721
2014-01-27 16:03hgbotStatusnew => resolved
2014-01-27 16:03hgbotResolutionopen => fixed
2014-01-27 16:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9b47b9cdf8c15ff3223c5b3ed832e3a1b11911e7 [^]
2014-01-28 13:17AugustoMauchNote Added: 0063753
2014-01-28 13:17AugustoMauchStatusresolved => closed
2014-01-28 13:17AugustoMauchFixed in Version => 3.0MP32
2014-02-12 18:29hudsonbotCheckin
2014-02-12 18:29hudsonbotNote Added: 0064120

Notes
(0063720)
alostale   
2014-01-27 15:49   
The problem is in SC.

In PickList.formatPickListValue this.pickList.getField(fieldName) returns null because ListGrid.getField assumes a name having / is a "data path" which has a different logic.
(0063721)
hgbot   
2014-01-27 16:03   
Repository: erp/devel/pi
Changeset: 9b47b9cdf8c15ff3223c5b3ed832e3a1b11911e7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jan 27 16:03:14 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9b47b9cdf8c15ff3223c5b3ed832e3a1b11911e7 [^]

fixed bug 25115: cannot update characteristics depending on its name

  SC client doesn't support field names with / character

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/UpdateInvariantCharacteristicsHandler.java
M web/js/productCharacteristicsProcess.js
---
(0063753)
AugustoMauch   
2014-01-28 13:17   
Code reviewed and verified in pi@9b47b9cdf8c1
(0064120)
hudsonbot   
2014-02-12 18:29   
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/d1a5bb862230 [^]
Maturity status: Test