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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027941
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2014-10-22 00:482014-12-30 23:27
ReporterjecharriView Statuspublic 
Assigned Tofsoto82 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionfa79e561d3c6
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Topramakrishnan
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027941: Forbid to delete a characteristics if the product has a value

DescriptionForbid to delete a characteristics if the product has a value. The problem is that if you delete the characteristic the product keeps with the value and it is impossible to delete the characteristic or update the value in the product.
Steps To Reproduce-Define a product characteristics. Not variant
-Assign a value
-Go to product window
-Choose a product and assign a characteristic and a value
-Delete the characteristic

verify that you can not delete the value in window "Product characteristic" because still are related records and also you can not update the value in the product until you insert again the characteristic.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0071508)
fsoto82 (developer)
2014-11-10 04:57

- Create a Poduct Characteristic (not variant)
- Go to Product and select one
- Add a characteristic
- Set a value for that characteristic (Update Characteristics button)

Case 1
- Try to remove the Characteristic from the product
Now you can't remove characteristics from a product if has a value associated.

Case 2
- Try to change the characteristic
Now you can't change the characteristic if has a value associated.
(0072502)
hgbot (developer)
2014-12-15 11:04

Repository: erp/devel/pi
Changeset: fa79e561d3c6700e87cd10158b9caaf257e516ef
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Fri Dec 12 09:23:03 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/fa79e561d3c6700e87cd10158b9caaf257e516ef [^]

Fixed bug 27941: Forbid to delete a characteristics if the product has a value

Modified ProductCharacteristicEventHandler to forbid deletion of an characteristic of product that has a value associated.
Added error Message 'DeleteProductChWithValue' and 'UpdateProductChWithValue'

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/event/ProductCharacteristicEventHandler.java
---
(0072503)
pramakrishnan (developer)
2014-12-15 11:05

Code Review + Testing - OK.
(0073218)
hudsonbot (developer)
2014-12-30 23:27

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-22 00:48 jecharri New Issue
2014-10-22 00:48 jecharri Assigned To => dmiguelez
2014-10-22 00:48 jecharri Web browser => Google Chrome
2014-10-22 00:48 jecharri Modules => Core
2014-10-22 00:48 jecharri Resolution time => 1416783600
2014-10-22 00:48 jecharri Triggers an Emergency Pack => No
2014-10-31 13:09 dmitry_mezentsev Assigned To dmiguelez => Sandrahuguet
2014-11-10 04:47 fsoto82 Status new => scheduled
2014-11-10 04:47 fsoto82 Assigned To Sandrahuguet => fsoto82
2014-11-10 04:47 fsoto82 fix_in_branch => pi
2014-11-10 04:57 fsoto82 Note Added: 0071508
2014-12-15 11:04 hgbot Checkin
2014-12-15 11:04 hgbot Note Added: 0072502
2014-12-15 11:04 hgbot Status scheduled => resolved
2014-12-15 11:04 hgbot Resolution open => fixed
2014-12-15 11:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fa79e561d3c6700e87cd10158b9caaf257e516ef [^]
2014-12-15 11:05 pramakrishnan Review Assigned To => pramakrishnan
2014-12-15 11:05 pramakrishnan Note Added: 0072503
2014-12-15 11:05 pramakrishnan Status resolved => closed
2014-12-30 23:27 hudsonbot Checkin
2014-12-30 23:27 hudsonbot Note Added: 0073218


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker