Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028928Openbravo ERP02. Master data managementpublic2015-02-12 17:572015-02-23 05:11
VictorVillar 
aferraz 
immediatemajoralways
closedfixed 
5
pi 
3.0PR15Q23.0PR15Q2 
Sandrahuguet
Core
No
0028928: The characteristic description is not updated correctly
The characteristic description is not updated correctly. There is no way to remove the first one.
As group admin role,
Go to Product characteristics window:
   create a new register for orgnization: *
   Variant: No
   name: TEST
 Go to values tab:
     create two registers:
       1- name: one
       2.- name: two

Create other register:
for orgnization: *
   Variant: No
   name: CHECK
 Go to values tab:
     create two registers:
       1- name: three
       2.- name:four

Go to Product window:
   create a new register
   orgnization: *
   is generic: yes
 Go to Characteristics tab:
    create a new registger selecting: TEST
    variant: no
 click on Update Characteristics button.
    select 'one' value and click on OK button.
Go to Characteristics tab:
 Remove the characteristic created before (TEST)
 create a new registger selecting: CHECK
    variant: no
 click on Update Characteristics button.
    select 'three' value and click on OK button.

Realise that the Characteristic Description still keeps TEST - onve value. That is wrong.
No tags attached.
related to defect 0029000 new Triage Omni OMS Characteristic description is not refreshed after update or delete in grid mode 
Issue History
2015-02-12 17:57VictorVillarNew Issue
2015-02-12 17:57VictorVillarAssigned To => Sandrahuguet
2015-02-12 17:57VictorVillarModules => Core
2015-02-12 17:57VictorVillarResolution time => 1423868400
2015-02-12 17:57VictorVillarTriggers an Emergency Pack => No
2015-02-12 17:57VictorVillarIssue Monitored: networkb
2015-02-17 16:23aferrazAssigned ToSandrahuguet => aferraz
2015-02-17 19:23aferrazNote Added: 0074571
2015-02-19 17:25hgbotCheckin
2015-02-19 17:25hgbotNote Added: 0074678
2015-02-19 17:25hgbotStatusnew => resolved
2015-02-19 17:25hgbotResolutionopen => fixed
2015-02-19 17:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cc7e0e3fd5808e345875c277043d2c08b77500b2 [^]
2015-02-19 17:32SandrahuguetReview Assigned To => Sandrahuguet
2015-02-19 17:32SandrahuguetNote Added: 0074680
2015-02-19 17:32SandrahuguetStatusresolved => closed
2015-02-19 17:32SandrahuguetFixed in Version => 3.0PR15Q2
2015-02-19 17:45SandrahuguetRelationship addedrelated to 0029000
2015-02-23 05:11hudsonbotCheckin
2015-02-23 05:11hudsonbotNote Added: 0074790

Notes
(0074571)
aferraz   
2015-02-17 19:23   
Test plan:

As group admin role,
Go to Product characteristics window:
   create a new register for orgnization: *
   Variant: No
   name: TEST
 Go to values tab:
     create two registers:
       1- name: one
       2.- name: two

Create other register:
for orgnization: *
   Variant: No
   name: CHECK
 Go to values tab:
     create two registers:
       1- name: three
       2.- name:four

Go to Product window:
   create a new register
   orgnization: *
   is generic: yes
 Go to Characteristics tab:
    create a new registger selecting: TEST
    variant: no
 click on Update Characteristics button.
    select 'one' value and click on OK button.
Go to Characteristics tab:
 Remove the characteristic created before (TEST)

Create a new registger selecting: CHECK
    variant: no
 click on Update Characteristics button.
    select 'three' value and click on OK button.

Realize that the Characteristic Description is CHECK - three value.
(0074678)
hgbot   
2015-02-19 17:25   
Repository: erp/devel/pi
Changeset: cc7e0e3fd5808e345875c277043d2c08b77500b2
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Feb 17 19:18:19 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cc7e0e3fd5808e345875c277043d2c08b77500b2 [^]

Fixes issue 28928: The characteristic description is not updated correctly

Event handler has been modified in order to remove ProductCharacteristicValue records when ProductCharacteristic is deleted

---
M src/org/openbravo/event/ProductCharacteristicEventHandler.java
---
(0074680)
Sandrahuguet   
2015-02-19 17:32   
Code review + testing OK
(0074790)
hudsonbot   
2015-02-23 05:11   
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/6856352d7235 [^]
Maturity status: Test