Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025445Openbravo ERP02. Master data managementpublic2014-01-08 12:232014-02-13 08:54
caristu 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
pi 
3.0PR14Q2 
caristu
Core
No
0025445: Error thrown when using Manage Variants under some circumstances
An error is thrown (see attached) when using manage variants if we added a characteristic to a product before marking it as generic. This error is thrown because if we follow that steps, no characteristic values are added into the [Characteristics Configuration] subtab.
1) Go to the [Product Characteristic] window and create a new variant characteristic with one value at least.
1) Go to the [Product] window and create a new product, don't check the generic product
2) Add the characteristic in the [Characteristics] tab
3) Again in the product header, check off the generic checkbox
4) Click on the "Manage Variants" button. Th error appears in the log.
5) The problem disappears if we remove the characteristic record in the [Characteristics] tab and create it again (having the is generic checkbox marked)
No tags attached.
txt MVException.txt (8,388) 2014-01-08 12:36
https://issues.openbravo.com/file_download.php?file_id=6618&type=bug
Issue History
2014-01-08 12:23caristuNew Issue
2014-01-08 12:23caristuAssigned To => dmiguelez
2014-01-08 12:23caristuModules => Core
2014-01-08 12:23caristuTriggers an Emergency Pack => No
2014-01-08 12:24caristuIssue Monitored: networkb
2014-01-08 12:26caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=5294#r5294
2014-01-08 12:36caristuFile Added: MVException.txt
2014-01-21 10:41VictorVillarAssigned Todmiguelez => jonalegriaesarte
2014-01-21 10:46VictorVillarPrioritynormal => urgent
2014-01-21 10:46VictorVillarSeverityminor => major
2014-01-21 10:46VictorVillarversion => pi
2014-01-21 10:46VictorVillarTarget Version => 3.0MP32
2014-01-27 11:05jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-01-28 11:16AtulOpenbravoAssigned Topramakrishnan => AtulOpenbravo
2014-01-28 11:16AtulOpenbravoStatusnew => scheduled
2014-01-28 11:16AtulOpenbravofix_in_branch => pi
2014-02-03 17:05AtulOpenbravoNote Added: 0063868
2014-02-12 19:07AtulOpenbravoReview Assigned To => caristu
2014-02-12 19:07AtulOpenbravofix_in_branchpi =>
2014-02-12 19:10hgbotCheckin
2014-02-12 19:10hgbotNote Added: 0064191
2014-02-12 19:10hgbotStatusscheduled => resolved
2014-02-12 19:10hgbotResolutionopen => fixed
2014-02-12 19:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/99c58f9b3fe1a4c696ff5bb96766497a64de18fb [^]
2014-02-13 07:16hudsonbotCheckin
2014-02-13 07:16hudsonbotNote Added: 0064207
2014-02-13 08:54caristuNote Added: 0064212
2014-02-13 08:54caristuStatusresolved => closed

Notes
(0063868)
AtulOpenbravo   
2014-02-03 17:05   
Test Plan
- Go to the [Product Characteristic] window and create a new variant characteristic with one value at least.
- Go to the [Product] window and create a new product, don't check the generic product.
- Add the characteristic in the [Characteristics] tab.
- Again in the product header, check off the generic checkbox.
- Click on the "Manage Variants" button.
- Pop up shows the characteristic & values for variants.
(0064191)
hgbot   
2014-02-12 19:10   
Repository: erp/devel/pi
Changeset: 99c58f9b3fe1a4c696ff5bb96766497a64de18fb
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Feb 05 15:11:08 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/99c58f9b3fe1a4c696ff5bb96766497a64de18fb [^]

Fixes Issue 25445 Error when using Manage Variants under some circumstances

---
M src/org/openbravo/event/ProductEventHandler.java
---
(0064207)
hudsonbot   
2014-02-13 07:16   
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/76fb3237bc3a [^]
Maturity status: Test
(0064212)
caristu   
2014-02-13 08:54   
Verified