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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032464
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorunable to reproduce2016-03-11 16:242016-03-21 18:25
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revision3f4f90c7de0e
ProjectionnoneETAnoneTarget VersionRR16Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032464: When using Void Layaway, it's possible that triggers in the application may be disabled

DescriptionThe Void Layaway process disables the triggers to be able to process the transactions correctly. This in itself is not necessarily wrong.

However, due to the way the database transaction is handled in this case, it is possible that in some circumstances, during an extremely short period of time, the triggers may be disabled for all users.

Steps To ReproduceIt's not really possible at this point to reproduce this problem reliably (as a matter of fact, we haven't seen it happen even once). This issue as of now is mainly theoretical, but possible in theory looking at the code. However, we don't have specific steps to reproduce it.
Proposed SolutionThe database transaction should not be committed before triggers are enabled again.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0031462 closedmario_castello [RR15Q4] The status of a layaway does not change after 'Void this layaway' 
related to defect 0031150 closedmarvintm Triggers stay disabled when a layaway is voided with pending payments 
depends on backport 0032465RR16Q1.1 closedmarvintm When using Void Layaway, it's possible that triggers in the application may be disabled 
depends on backport 0032466RR15Q4.6 closedmarvintm When using Void Layaway, it's possible that triggers in the application may be disabled 

-  Notes
(0084924)
hgbot (developer)
2016-03-11 18:11

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3f4f90c7de0e89f5813a9a65e049335b04f40f64
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Fri Mar 11 17:41:33 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3f4f90c7de0e89f5813a9a65e049335b04f40f64 [^]

Fixed issue 32464. Triggers will never be disabled for all users anymore.
The transaction will no longer be committed while the triggers are disabled, so it will no longer be possible for other users to be affected by this.

---
M src/org/openbravo/retail/posterminal/ProcessVoidLayaway.java
---

- Issue History
Date Modified Username Field Change
2016-03-11 16:24 marvintm New Issue
2016-03-11 16:24 marvintm Assigned To => marvintm
2016-03-11 16:24 marvintm Triggers an Emergency Pack => No
2016-03-11 16:24 marvintm Status new => scheduled
2016-03-11 16:27 marvintm Relationship added related to 0031462
2016-03-11 16:28 marvintm Relationship added related to 0031150
2016-03-11 18:11 hgbot Checkin
2016-03-11 18:11 hgbot Note Added: 0084924
2016-03-11 18:11 hgbot Status scheduled => resolved
2016-03-11 18:11 hgbot Resolution open => fixed
2016-03-11 18:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3f4f90c7de0e89f5813a9a65e049335b04f40f64 [^]
2016-03-21 18:25 guilleaer Review Assigned To => guilleaer
2016-03-21 18:25 guilleaer Status resolved => closed
2016-03-21 18:25 guilleaer Fixed in Version => RR16Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker