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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043368
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementminorhave not tried2020-02-28 11:292020-03-30 15:57
ReporterAtulOpenbravoView Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionfixedFixed in Version3.0PR20Q2
StatusclosedFix in branchFixed in SCM revision207fb32a895a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043368: API Change: Foreign Key Definition for M_Product_ID in M_Storage_Pending changed

DescriptionForeign key for column M_Product_ID in M_Storage_Pending is now defined as
ON DELETE CASCADE instead of NO ACTION. This way when there are no records associated to product in any of the transactions still there exists a linked record in M_Storage_Pending then it automatically gets deleted when deleting the product. This change is safe and hence has no risk.
Steps To Reproduce-
TagsApproved
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0043215 closedAtulOpenbravo IIt is impossible to delete products because of dependency with m_store_pending table 

-  Notes
(0118225)
hgbot (developer)
2020-03-02 10:16

Repository: erp/devel/api-checks
Changeset: d87542e99c58a2c93e496fdc481e19d9497a14d9
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Mar 02 14:38:04 2020 +0530
URL: http://code.openbravo.com/erp/devel/api-checks/rev/d87542e99c58a2c93e496fdc481e19d9497a14d9 [^]

Fixes BUG-0043368: API Change - Foreign Key Definition
for M_Product_ID in M_Storage_Pending changed

**Foreign Key for M_PRODUCT_ID in M_STORAGE_PENDING is
set as ON DELETE CASCADE so that when product is being
deleted and is not associated with any transaction,
then record associated with M_Storage_Pending gets
deleted.

---
M model/src-db/database/model/tables/M_STORAGE_PENDING.xml
---
(0118290)
dmiguelez (developer)
2020-03-03 11:24

Code Review + Testing Ok
(0118657)
hgbot (developer)
2020-03-18 08:35

Repository: erp/devel/api-checks
Changeset: 207fb32a895a367e90f0eb7aa84538e27bcf4aeb
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Mar 02 14:38:04 2020 +0530
URL: http://code.openbravo.com/erp/devel/api-checks/rev/207fb32a895a367e90f0eb7aa84538e27bcf4aeb [^]

Fixes BUG-0043368: API Change - Foreign Key Definition
for M_Product_ID in M_Storage_Pending changed

**Foreign Key for M_PRODUCT_ID in M_STORAGE_PENDING is
set as ON DELETE CASCADE so that when product is being
deleted and is not associated with any transaction,
then record associated with M_Storage_Pending gets
deleted.

---
M model/src-db/database/model/tables/M_STORAGE_PENDING.xml
---
(0118878)
dmiguelez (developer)
2020-03-30 15:57

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2020-02-28 11:29 AtulOpenbravo New Issue
2020-02-28 11:29 AtulOpenbravo Assigned To => dmitry_mezentsev
2020-02-28 11:29 AtulOpenbravo Modules => Core
2020-02-28 11:29 AtulOpenbravo Triggers an Emergency Pack => No
2020-02-28 11:29 AtulOpenbravo Relationship added blocks 0043215
2020-02-28 12:30 Practics Issue Monitored: Practics
2020-02-28 14:21 dmitry_mezentsev Tag Attached: Approved
2020-02-28 14:21 dmitry_mezentsev Assigned To dmitry_mezentsev => AtulOpenbravo
2020-03-02 10:09 AtulOpenbravo Status new => scheduled
2020-03-02 10:16 hgbot Checkin
2020-03-02 10:16 hgbot Note Added: 0118225
2020-03-02 10:16 hgbot Status scheduled => resolved
2020-03-02 10:16 hgbot Resolution open => fixed
2020-03-02 10:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/d87542e99c58a2c93e496fdc481e19d9497a14d9 [^]
2020-03-02 18:12 AtulOpenbravo Issue cloned 0043391
2020-03-03 11:24 dmiguelez Review Assigned To => dmiguelez
2020-03-03 11:24 dmiguelez Note Added: 0118290
2020-03-03 11:24 dmiguelez Status resolved => closed
2020-03-03 11:24 dmiguelez Fixed in Version => 3.0PR20Q2
2020-03-18 08:35 hgbot Checkin
2020-03-18 08:35 hgbot Note Added: 0118657
2020-03-18 08:35 hgbot Status closed => resolved
2020-03-18 08:35 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/api-checks/rev/d87542e99c58a2c93e496fdc481e19d9497a14d9 [^] => http://code.openbravo.com/erp/devel/api-checks/rev/207fb32a895a367e90f0eb7aa84538e27bcf4aeb [^]
2020-03-30 15:57 dmiguelez Note Added: 0118878
2020-03-30 15:57 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker