Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029063 | Openbravo ERP | 04. Warehouse management | public | 2015-02-25 12:59 | 2015-02-26 22:39 |
|
Reporter | umartirena | |
Assigned To | umartirena | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR15Q2 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0029063: M_Reservation_Post fails in Oracle |
Description | M_Reservation_Post fails in Oracle after the refactor of M_GET_STOCK_PARAM.
The following error is obtained:
Error:
ORA-04091: table ERP_PI_ORACLE.M_RESERVATION is mutating, trigger/function may not see it\\nORA-06512: at "ERP_PI_ORACLE.M_RESERVATION_TRG", line 80\\nORA-04088: error during execution of trigger 'ERP_PI_ORACLE.M_RESERVATION_TRG' |
Steps To Reproduce | In live.builds in oracle:
* Enable Reservations preference.
* Logout and Login.
* Create a Sales Order with a line. Click on that line and press Manage Reservations.
* Click on Cancel.
* Go to Linked Items of that line and realize that a reservation has been created, navigate to it.
* See that the reservation is on draft. Try to process the reservation.
* The below error is obtained.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0028834 | 3.0PR15Q2 | closed | umartirena | M_Reservation_Post errors in oracle | causes | defect | 0030516 | | closed | AtulOpenbravo | Potential full c_orderline scan in M_Reservation_trg |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-02-25 12:59 | umartirena | New Issue | |
2015-02-25 12:59 | umartirena | Assigned To | => Sandrahuguet |
2015-02-25 12:59 | umartirena | Modules | => Core |
2015-02-25 12:59 | umartirena | Triggers an Emergency Pack | => No |
2015-02-25 13:01 | umartirena | Assigned To | Sandrahuguet => umartirena |
2015-02-26 08:35 | hgbot | Checkin | |
2015-02-26 08:35 | hgbot | Note Added: 0074949 | |
2015-02-26 08:35 | hgbot | Status | new => resolved |
2015-02-26 08:35 | hgbot | Resolution | open => fixed |
2015-02-26 08:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b4be2e4511445d578fc7f8a2175c3a6114e52583 [^] |
2015-02-26 15:57 | hgbot | Checkin | |
2015-02-26 15:57 | hgbot | Note Added: 0074973 | |
2015-02-26 15:57 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2015-02-26 15:57 | Sandrahuguet | Note Added: 0074974 | |
2015-02-26 15:57 | Sandrahuguet | Status | resolved => closed |
2015-02-26 15:57 | Sandrahuguet | Fixed in Version | => 3.0PR15Q2 |
2015-02-26 18:56 | umartirena | Relationship added | related to 0028834 |
2015-02-26 22:39 | hudsonbot | Checkin | |
2015-02-26 22:39 | hudsonbot | Note Added: 0075005 | |
2015-02-26 22:39 | hudsonbot | Checkin | |
2015-02-26 22:39 | hudsonbot | Note Added: 0075006 | |
2015-08-07 12:10 | alostale | Relationship added | causes 0030516 |
Notes |
|
(0074949)
|
hgbot
|
2015-02-26 08:35
|
|
Repository: erp/devel/pi
Changeset: b4be2e4511445d578fc7f8a2175c3a6114e52583
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Wed Feb 25 13:16:20 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b4be2e4511445d578fc7f8a2175c3a6114e52583 [^]
Fixes bug 29063: Fixed mutating trigger in Oracle.
M_RESERVATION_TRG was triggering a mutating trigger error because a select to the m_reservation table was being done on that trigger, that belongs to m_reservation table. That select has been modified to now to join m_reservation table, because it is not necessary.
---
M src-db/database/model/triggers/M_RESERVATION_TRG.xml
---
|
|
|
(0074973)
|
hgbot
|
2015-02-26 15:57
|
|
|
|
|
|
|
|
|
|
|
|