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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014660
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2010-09-22 19:122010-10-03 00:00
Reporterhari_madhavanView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP20SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014660: Product delete does not delete the product price

DescriptionA delete of a just created product does not delete the associated price. The consequence of this is a client export fails because it fails an integrity check.
Steps To Reproduce1. Create a Product
2. Create a couple of prices for the product
3. Check the number of records in m_product and m_productprice
4. Delete the product
5. Check the number of records in m_product ( would be less by 1 ) and m_productprice ( would be unchanged)
6. Choose the export client option and fails because the product record is not there.
Proposed SolutionHave a cascaded delete from product to productprice
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0031559)
harikrishnan (reporter)
2010-10-02 08:57

onDelete=casacade is given in the table m_productprice,https://code.openbravo.com/erp/devel/pi/file/331c9ca70ae9/src-db/database/model/tables/M_PRODUCTPRICE.xml#l65.And [^] while deleting the product ,product price is also getting deleted.Hence closing this issue as not reproducible.

- Issue History
Date Modified Username Field Change
2010-09-22 19:12 hari_madhavan New Issue
2010-09-22 19:12 hari_madhavan Assigned To => adrianromero
2010-10-02 08:57 harikrishnan Note Added: 0031559
2010-10-02 08:57 harikrishnan Status new => closed
2010-10-02 08:57 harikrishnan Resolution open => no change required
2010-10-03 00:00 anonymous sf_bug_id 0 => 3080124


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker