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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032465
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorunable to reproduce2016-03-11 16:242016-04-21 11:57
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision98409a1dd30f
ProjectionnoneETAnoneTarget VersionRR16Q1.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032465: 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 ]
blocks defect 0032464RR16Q2 closedmarvintm When using Void Layaway, it's possible that triggers in the application may be disabled 

-  Notes
(0085681)
hgbot (developer)
2016-04-15 15:39

Repository: retail/backports/3.0RR16Q1.1/org.openbravo.retail.posterminal
Changeset: 98409a1dd30f19dbd45341356c2f3c63dfb316e9
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Apr 15 15:39:24 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1.1/org.openbravo.retail.posterminal/rev/98409a1dd30f19dbd45341356c2f3c63dfb316e9 [^]

Fixed issue 32465. 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
---
(0085820)
migueldejuana (developer)
2016-04-21 11:57

Reviewed in RR16Q1.1

- Issue History
Date Modified Username Field Change
2016-03-11 16:24 marvintm Type defect => backport
2016-03-11 16:24 marvintm Target Version RR16Q2 => RR16Q1.1
2016-04-15 15:39 hgbot Checkin
2016-04-15 15:39 hgbot Note Added: 0085681
2016-04-15 15:39 hgbot Status scheduled => resolved
2016-04-15 15:39 hgbot Resolution open => fixed
2016-04-15 15:39 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1.1/org.openbravo.retail.posterminal/rev/98409a1dd30f19dbd45341356c2f3c63dfb316e9 [^]
2016-04-21 11:56 migueldejuana Review Assigned To => migueldejuana
2016-04-21 11:57 migueldejuana Note Added: 0085820
2016-04-21 11:57 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker