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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027536
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2014-09-03 18:232014-12-30 23:22
ReporteregoitzView Statuspublic 
Assigned Toreinaldoguerra 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision082dc529e692
ProjectionnoneETAnoneTarget Version3.0PR15Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0PR14Q2.5SCM revision 
Review Assigned Tovmromanos
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027536: When adding a new value to a characteristics, that is added on the product characteristic value also for not generic products.

DescriptionWhen adding a new value to a characteristics, that is added on the product characteristic value also for not generic products.
This new value should be added only to the generic products using that characteristic.
Steps To Reproduce-Create a product characteritics: color
-Create a value: red
-Create a generic product and asign the "color" characteristic.
-Execute the create variants process.
-Check on the database that on the m_product_ch_conf table you have only one entry (for the generic product)
-add a new value on the color characteristic: blue
*-Check on the database that on the m_product_ch_conf table you have right now 3 rows.
One for red and the generic product, but the blue value has been inserted for both products, the generic and the created one.
Proposed Solutionsee attached file
TagsNo tags attached.
Attached Filesdiff file icon checkValueTRG_Final.diff [^] (645 bytes) 2014-09-04 16:55 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0070707)
reinaldoguerra (developer)
2014-10-04 08:26

Test plan used:
1- Login into Openbravo ERP
2- Create a product characteritics: color
3- Create a value: red
4- Create a generic product and asign the "color" characteristic.
5- Execute the create variants process.
6- Check on the database that on the m_product_ch_conf table you have only one entry (for the generic product)
7- Add a new value on the color characteristic: blue
8- Check on the database that on the m_product_ch_conf table you have now 2 rows: both, red and blue, for the generic product.
(0070776)
hgbot (developer)
2014-10-07 16:50

Repository: erp/devel/pi
Changeset: 082dc529e69254ad57f7334141111d42b51839d8
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Fri Oct 03 21:34:50 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/082dc529e69254ad57f7334141111d42b51839d8 [^]

Fixed bug 27536: Characteristics is added also for not generic products.

Modified trigger when saving characteristic value, to insert in product characteristic configuration only values for generic products.
Also only values of characteristics with variant flag checked are now inserted.

---
M src-db/database/model/triggers/M_CH_VALUE_TRG.xml
---
(0070777)
vmromanos (manager)
2014-10-07 16:51

Code review + testing OK
(0072913)
hudsonbot (developer)
2014-12-30 23:22

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-09-03 18:23 egoitz New Issue
2014-09-03 18:23 egoitz Assigned To => dmiguelez
2014-09-03 18:23 egoitz Modules => Core
2014-09-03 18:23 egoitz Triggers an Emergency Pack => No
2014-09-03 18:29 egoitz Resolution time => 1413324000
2014-09-03 18:29 egoitz Assigned To dmiguelez => jonalegriaesarte
2014-09-03 18:29 egoitz Target Version => 3.0PR14Q4
2014-09-03 18:35 egoitz File Added: checkValueTRG.diff
2014-09-03 18:35 egoitz Proposed Solution updated
2014-09-04 16:54 egoitz File Deleted: checkValueTRG.diff
2014-09-04 16:55 egoitz File Added: checkValueTRG_Final.diff
2014-09-08 16:12 jonalegriaesarte Assigned To jonalegriaesarte => AtulOpenbravo
2014-09-22 16:36 jonalegriaesarte Target Version 3.0PR14Q4 => 3.0PR15Q1
2014-10-04 00:01 reinaldoguerra Assigned To AtulOpenbravo => reinaldoguerra
2014-10-04 00:01 reinaldoguerra Status new => scheduled
2014-10-04 08:26 reinaldoguerra Note Added: 0070707
2014-10-07 16:50 hgbot Checkin
2014-10-07 16:50 hgbot Note Added: 0070776
2014-10-07 16:50 hgbot Status scheduled => resolved
2014-10-07 16:50 hgbot Resolution open => fixed
2014-10-07 16:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/082dc529e69254ad57f7334141111d42b51839d8 [^]
2014-10-07 16:51 vmromanos Review Assigned To => vmromanos
2014-10-07 16:51 vmromanos Note Added: 0070777
2014-10-07 16:51 vmromanos Status resolved => closed
2014-12-30 23:22 hudsonbot Checkin
2014-12-30 23:22 hudsonbot Note Added: 0072913


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker