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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013551
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2010-06-07 12:382011-11-30 12:30
ReporterdalsasuaView Statuspublic 
Assigned Toguilleaer 
PriorityhighResolutionfixedFixed in Version3.0MP6
StatusclosedFix in branchpiFixed in SCM revision74a87a358190
ProjectionnoneETAnoneTarget Versionpi
OSLinux 32 bitDatabaseOracleJava version1.6.0_14
OS VersionUbuntu 9.04Database version11.1.0.6.0 SEAnt version1.7.1
Product VersionpiSCM revision61c7f9003648 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013551: When deleting a inclussion/dependency in a module, "is in development" flag is not checked

DescriptionInstall universities template (I guess will occur for every module having a include/dependency tab content)
Go to Application Dictionary || Module
Check that "In Development" check box is NOT active
Go to include tab
Remove any row
System allows to do so, even having the template not in development
Steps To Reproducesee description
Proposed Solutionin trigger AD_MODULE_DEPENDENCY_MOD_TRG add as well an "on delete" condition.
TagsOB3-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0009540 closedalostale Mutating trigger error when trying to delete a module which has a module dependency 

-  Notes
(0043201)
hgbot (developer)
2011-11-25 10:30

Repository: erp/devel/pi
Changeset: 74a87a35819000e98bd5856c6e801af8f67b79dc
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Nov 24 18:00:32 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/74a87a35819000e98bd5856c6e801af8f67b79dc [^]

Fixed issue 13551: if module is not in development mode you cant delete includes

---
M src-db/database/model/triggers/AD_MODULE_DEPENDENCY_MOD_TRG.xml
---
(0043204)
alostale (manager)
2011-11-25 10:47

Working on pi@74a87a358190

Code reviewed

Executed test cases:

*In both Oracle ad PG
 -Try to delete a dependency of a non in dev module. OK not allowed.
 -Try to delete a dependency of a in dev module. OK allowed.

Regression test:

This bug was introduced as fix for 0009540. Checking now 0009540 is not reproducible again.

*In both Oracle ad PG, grid and view forms:
 -Try to delete a non in dev module with dependencies. OK not allowed.
 -Try to delete an in dev module with dependencies. OK allowed.

Mutating table error is not raised anymore when deleting from UI because of how 3.0 children deletion is implemented, not relying on DB delete on cascade FKs but executing deletion for each child row.
(0043442)
hudsonbot (developer)
2011-11-30 12:30

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/01809c7b3135 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2010-06-07 12:38 dalsasua New Issue
2010-06-07 12:38 dalsasua Assigned To => alostale
2010-06-14 13:01 iciordia Status new => acknowledged
2011-11-17 17:47 alostale Tag Attached: OB3-Reviewed
2011-11-23 10:23 alostale Assigned To alostale => guilleaer
2011-11-25 10:30 hgbot Checkin
2011-11-25 10:30 hgbot Note Added: 0043201
2011-11-25 10:30 hgbot Status acknowledged => resolved
2011-11-25 10:30 hgbot Resolution open => fixed
2011-11-25 10:30 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/74a87a35819000e98bd5856c6e801af8f67b79dc [^]
2011-11-25 10:33 alostale Status resolved => new
2011-11-25 10:33 alostale Resolution fixed => open
2011-11-25 10:33 alostale Relationship added related to 0009540
2011-11-25 10:33 alostale Status new => scheduled
2011-11-25 10:33 alostale fix_in_branch => pi
2011-11-25 10:34 alostale Status scheduled => resolved
2011-11-25 10:34 alostale Resolution open => fixed
2011-11-25 10:47 alostale Note Added: 0043204
2011-11-25 10:47 alostale Status resolved => closed
2011-11-25 10:47 alostale Fixed in Version => 3.0MP6
2011-11-30 12:30 hudsonbot Checkin
2011-11-30 12:30 hudsonbot Note Added: 0043442


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker