Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019620 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 05. Production management | major | always | 2012-02-02 08:52 | 2012-03-02 15:39 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | jecharri | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | 93367ec81ec7 | ||||
Projection | none | ETA | none | Target Version | 3.0MP9 | |||
OS | Linux 32 bit | Database | Oracle | Java version | ||||
OS Version | Database version | 11g | Ant version | |||||
Product Version | 3.0MP7.1 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0019620: A Commit is done in ma_workeffort_validate() with an Extension Point configured | |||||||
Description | ONLY 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 Reproduce | 1. 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 2012-02-29 12:57 |
Well done :) |
(0045972) hudsonbot (viewer) 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 |
![]() |
|||
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 08:52 | networkb | OBNetwork customer | => Yes |
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 |