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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025826
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POScriticalsometimes2014-02-25 09:592014-03-28 13:59
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityimmediateResolutionfixedFixed in VersionRR14Q2
StatusclosedFix in branchFixed in SCM revisionc3c3d1efa659
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025826: Under some circumstances, a failure in a Web POS process may leave the instance triggers in a soft disabled state

DescriptionIt seems that under some circumstances, a failure in some Web POS processes may leave all the instance triggers in a soft disabled state.

The reason for this is that in some cases the TriggerHandler class is being used to disable and enable triggers, but the enable part is not being executed in a finally block, so in some cases it's possible that the insertion which happens in the disable part is committed to the database.

In that case, all triggers would be disabled for all the processes.
Steps To ReproduceIt's not currently clear how to reproduce this issue, but it has happened in a customer environment.
Proposed SolutionThe code will be reviewed and changed to ensure that it's not possible for this to happen again, for example moving all call to enable the triggers to finally blocks.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0064559)
hgbot (developer)
2014-02-25 12:37

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c3c3d1efa659d7188e9f81515a9fd3d218fe4aa1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 25 06:37:32 2014 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c3c3d1efa659d7188e9f81515a9fd3d218fe4aa1 [^]

Fixed issue 25826. A failed cashup will no longer create a soft disabling of all triggers in the instance

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---
(0064560)
hgbot (developer)
2014-02-25 12:49

Repository: erp/pmods/org.openbravo.retail.posterminal.cirque
Changeset: 5df7191460e6807ac31d3b151fc1ab23759a09ce
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 25 06:37:32 2014 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/5df7191460e6807ac31d3b151fc1ab23759a09ce [^]

Fixed issue 25826. A failed cashup will no longer create a soft disabling of all triggers in the instance

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---
(0064597)
hgbot (developer)
2014-02-26 10:45

Repository: erp/pmods/org.openbravo.retail.posterminal.cirque
Changeset: c3c3d1efa659d7188e9f81515a9fd3d218fe4aa1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 25 06:37:32 2014 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/c3c3d1efa659d7188e9f81515a9fd3d218fe4aa1 [^]

Fixed issue 25826. A failed cashup will no longer create a soft disabling of all triggers in the instance

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---
(0065587)
adrianromero (manager)
2014-03-28 13:59

Reviewed

- Issue History
Date Modified Username Field Change
2014-02-25 09:59 marvintm New Issue
2014-02-25 09:59 marvintm Assigned To => marvintm
2014-02-25 09:59 marvintm Triggers an Emergency Pack => No
2014-02-25 12:37 hgbot Checkin
2014-02-25 12:37 hgbot Note Added: 0064559
2014-02-25 12:37 hgbot Status new => resolved
2014-02-25 12:37 hgbot Resolution open => fixed
2014-02-25 12:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c3c3d1efa659d7188e9f81515a9fd3d218fe4aa1 [^]
2014-02-25 12:49 hgbot Checkin
2014-02-25 12:49 hgbot Note Added: 0064560
2014-02-25 12:49 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c3c3d1efa659d7188e9f81515a9fd3d218fe4aa1 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/5df7191460e6807ac31d3b151fc1ab23759a09ce [^]
2014-02-26 10:45 hgbot Checkin
2014-02-26 10:45 hgbot Note Added: 0064597
2014-02-26 10:45 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/5df7191460e6807ac31d3b151fc1ab23759a09ce [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/c3c3d1efa659d7188e9f81515a9fd3d218fe4aa1 [^]
2014-03-28 13:59 adrianromero Review Assigned To => adrianromero
2014-03-28 13:59 adrianromero Note Added: 0065587
2014-03-28 13:59 adrianromero Status resolved => closed
2014-03-28 13:59 adrianromero Fixed in Version => RR14Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker