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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019620
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementmajoralways2012-02-02 08:522012-03-02 15:39
ReporternetworkbView Statuspublic 
Assigned Tojecharri 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision93367ec81ec7
ProjectionnoneETAnoneTarget Version3.0MP9
OSLinux 32 bitDatabaseOracleJava version
OS VersionDatabase version11gAnt version
Product Version3.0MP7.1SCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019620: A Commit is done in ma_workeffort_validate() with an Extension Point configured

DescriptionONLY FOR ORACLE: ma_workeffort_validate function can be extended using Extension points. If you develop an Extension point that RAISES an exception and needs to execute a ROLLBACK, the rollback has no effect because there is a commit done in ma_workeffort_validate. So, no matter what happens in your extension point because the work effort will always process the work effort if there is no problem in ma_workeffort_validate procedure.

I think the commit is done because ma_workeffort_validate is calling MA_WRPHASE_CLOSE(p_instance_id) and ma_wrphase_close is executing ad_update_pinstance.
Steps To Reproduce1. Create an Extension point for MA_WORKEFFORT_VALIDATE
2. force an exception in the extension point
3. see how an error is shown to the user but the work effort is processed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0045534)
hgbot (developer)
2012-02-28 13:35

Repository: erp/devel/pi
Changeset: 93367ec81ec7ac2931c31da8678c7f461b502900
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Feb 28 13:33:47 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/93367ec81ec7ac2931c31da8678c7f461b502900 [^]

Fixes issue 19620: A Commit is done in
ma_workeffort_validate() with an Extension Point configures

---
M src-db/database/model/functions/MA_WORKEFFORT_VALIDATE.xml
M src-db/database/model/functions/MA_WRPHASE_CLOSE.xml
---
(0045591)
networkb (developer)
2012-02-29 12:57

Well done :)
(0045972)
hudsonbot (developer)
2012-03-02 15:39

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/544d64e0c159 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-02-02 08:52 networkb New Issue
2012-02-02 08:52 networkb Assigned To => jonalegriaesarte
2012-02-02 08:52 networkb Web browser => Google Chrome
2012-02-02 08:52 networkb Modules => Core
2012-02-02 10:11 jonalegriaesarte Web browser Google Chrome => Google Chrome
2012-02-02 10:11 jonalegriaesarte Target Version => 3.0MP9
2012-02-02 11:29 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-02-28 13:35 hgbot Checkin
2012-02-28 13:35 hgbot Note Added: 0045534
2012-02-28 13:35 hgbot Status new => resolved
2012-02-28 13:35 hgbot Resolution open => fixed
2012-02-28 13:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/93367ec81ec7ac2931c31da8678c7f461b502900 [^]
2012-02-29 12:57 networkb Note Added: 0045591
2012-02-29 12:57 networkb Status resolved => closed
2012-02-29 12:57 networkb Fixed in Version => pi
2012-03-02 15:39 hudsonbot Checkin
2012-03-02 15:39 hudsonbot Note Added: 0045972


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker