Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorunable to reproduce2016-03-11 16:242016-04-22 17:20
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision4d466fd004c8
ProjectionnoneETAnoneTarget VersionRR15Q4.6
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

0032466: 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
hgbot (developer)
2016-04-22 09:16

Repository: retail/backports/3.0RR15Q4.6/org.openbravo.retail.posterminal
Changeset: 4d466fd004c81a6f39039b1cf965c5532fc9002d
Author: Antonio Moreno <antonio.moreno <at>>
Date: Fri Apr 22 09:15:40 2016 +0200
URL: [^]

Fixed issue 32466. 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/
migueldejuana (developer)
2016-04-22 13:18

Reviewed in RR15Q4.6
hgbot (developer)
2016-04-22 17:20

Repository: retail/backports/3.0RR15Q4.6/org.openbravo.retail.posterminal
Changeset: 42af4b54c6e2e3f26bb98ad1d8e35d6ac115675e
Author: Antonio Moreno Perez <antonio.moreno <at>>
Date: Fri Apr 22 17:19:56 2016 +0200
URL: [^]

Related to issue 32466. Related to issue 32761. Fixed copyright year.

M src/org/openbravo/retail/posterminal/
M src/org/openbravo/retail/posterminal/importprocess/
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js

- 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 => RR15Q4.6
2016-04-22 09:16 hgbot Checkin
2016-04-22 09:16 hgbot Note Added: 0085871
2016-04-22 09:16 hgbot Status scheduled => resolved
2016-04-22 09:16 hgbot Resolution open => fixed
2016-04-22 09:16 hgbot Fixed in SCM revision => [^]
2016-04-22 13:18 migueldejuana Review Assigned To => migueldejuana
2016-04-22 13:18 migueldejuana Note Added: 0085891
2016-04-22 13:18 migueldejuana Status resolved => closed
2016-04-22 17:20 hgbot Checkin
2016-04-22 17:20 hgbot Note Added: 0085908

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker