Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0029611 | Openbravo ERP | A. Platform | public | 2015-04-16 16:00 | 2022-02-01 08:08 |
|
| Reporter | AugustoMauch | |
| Assigned To | Triage Platform Base | |
| Priority | normal | Severity | major | Reproducibility | have not tried |
| Status | acknowledged | Resolution | open | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
| Merge Request Status | |
| Review Assigned To | |
| OBNetwork customer | OBPS |
| Web browser | |
| Modules | Core |
| Support ticket | 36202 |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0029611: The way we disable triggers with TriggerHandler may lead to leaving the triggers disabled indefinitly |
| Description | If for whatever reason TriggerHandler.getInstance().disable() is invoked, but the transaction is commited before executing TriggerHandler.getInstance().enable(), the database triggers would be left disabled.
In that case, a row would be committed to the AD_SESSION_STATUS table that would prevent the triggers from being executed. This problem would persist until a transaction is commited having executed TriggerHandler.getInstance().enable(). |
| Steps To Reproduce | The following actions lead to leaving the database triggers disabled:
- TriggerHandler.getInstance().disable() is invoked
- For whatever reason (it is missing, or not properly handled in a finally block, etc), TriggerHandler.getInstance().enable() is not invoked
- The DAL transaccion is commited
|
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0029632 | | closed | tegik_forge | Openbravo Localizations | Error found in "Adaptación WebPOS para factura electrónica" module | | related to | defect | 0030174 | RR15Q3 | closed | mtaal | Retail Modules | Triggers temporarily disabled for whole application through webpos |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-04-16 16:00 | AugustoMauch | New Issue | |
| 2015-04-16 16:00 | AugustoMauch | Assigned To | => platform |
| 2015-04-16 16:00 | AugustoMauch | OBNetwork customer | => No |
| 2015-04-16 16:00 | AugustoMauch | Modules | => Core |
| 2015-04-16 16:00 | AugustoMauch | Triggers an Emergency Pack | => No |
| 2015-05-15 10:00 | AugustoMauch | Issue Monitored: alostale | |
| 2015-05-15 10:00 | AugustoMauch | Review Assigned To | => alostale |
| 2015-05-15 11:01 | AugustoMauch | Issue End Monitor: alostale | |
| 2015-05-15 11:01 | AugustoMauch | Review Assigned To | alostale => |
| 2015-05-15 14:17 | ngarcia | Relationship added | related to 0029632 |
| 2015-05-15 14:20 | ngarcia | Issue Monitored: ngarcia | |
| 2015-05-15 14:21 | ngarcia | OBNetwork customer | No => Yes |
| 2015-05-15 14:21 | ngarcia | Support ticket | => 36202 |
| 2015-05-15 14:21 | ngarcia | Severity | major => critical |
| 2016-01-26 09:56 | AugustoMauch | Relationship added | related to 0030174 |
| 2016-01-26 09:57 | AugustoMauch | Note Added: 0083606 | |
| 2016-01-26 09:57 | AugustoMauch | Severity | critical => major |
| 2016-01-26 09:59 | AugustoMauch | Note Added: 0083607 | |
| 2017-06-19 09:29 | alostale | Note Added: 0097472 | |
| 2017-06-19 09:29 | alostale | Status | new => acknowledged |
| 2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |