Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027905
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupminoralways2014-10-17 14:432014-12-30 23:23
ReportercaristuView Statuspublic 
Assigned TodaniOpenbravo 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision2054a2e3fd60
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToAtulOpenbravo
Web browser
ModulesCore
Regression levelPre packaging ( pi )
Regression date2014-10-08
Regression introduced in releasepi
Regression introduced by commithttp://code.openbravo.com/erp/devel/pi/rev/a44629203f82fc75c27479afd5f9689d33b644bf [^]
Triggers an Emergency PackNo
Summary

0027905: Is not possible to assign a subset to a characteristic

DescriptionIs not possible to assign a subset to a characteristic
Steps To Reproduce1) 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
Proposed SolutionThe 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()
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 00271433.0PR15Q1 closedreinaldoguerra If you disable the characteristics value it is not taken into account when you assign the characteristic to a product 

-  Notes
(0071042)
daniOpenbravo (developer)
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 (developer)
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 (developer)
2014-10-21 09:15

Verified
(0072950)
hudsonbot (developer)
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

- Issue History
Date Modified Username Field Change
2014-10-17 14:43 caristu New Issue
2014-10-17 14:43 caristu Assigned To => dmiguelez
2014-10-17 14:43 caristu Modules => Core
2014-10-17 14:43 caristu Regression level => Pre packaging ( pi )
2014-10-17 14:43 caristu Regression date => 2014-10-08
2014-10-17 14:43 caristu Regression introduced in release => pi
2014-10-17 14:43 caristu Regression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/a44629203f82fc75c27479afd5f9689d33b644bf [^]
2014-10-17 14:43 caristu Triggers an Emergency Pack => No
2014-10-17 14:43 caristu Relationship added caused by 0027143
2014-10-17 14:43 caristu Assigned To dmiguelez => AtulOpenbravo
2014-10-20 11:08 daniOpenbravo Assigned To AtulOpenbravo => daniOpenbravo
2014-10-20 11:08 daniOpenbravo Status new => scheduled
2014-10-20 12:15 daniOpenbravo Note Added: 0071042
2014-10-20 12:16 daniOpenbravo Review Assigned To => AtulOpenbravo
2014-10-20 12:35 hgbot Checkin
2014-10-20 12:35 hgbot Note Added: 0071045
2014-10-20 12:35 hgbot Status scheduled => resolved
2014-10-20 12:35 hgbot Resolution open => fixed
2014-10-20 12:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2054a2e3fd60c719b80927a25e4439861947796d [^]
2014-10-21 09:15 AtulOpenbravo Note Added: 0071067
2014-10-21 09:15 AtulOpenbravo Status resolved => closed
2014-10-21 09:15 AtulOpenbravo Fixed in Version => pi
2014-12-30 23:23 hudsonbot Checkin
2014-12-30 23:23 hudsonbot Note Added: 0072950


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker