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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034665
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-12-01 12:012016-12-07 17:36
ReporteregoitzView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revision4b9f3131a589
ProjectionnoneETAnoneTarget Version
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

0034665: The terminal should be locked until the full/incremental refresh finish

DescriptionRight now after click on f5 you can start using the application before the incremental refresh finishes.
That means that you can work having missing elements. for example discounts
Steps To Reproduce-Create a discount on the backend applicable to the product A
-click f5 on the terminal
-Add the product to a ticket before the incremental refresh finishes.
*the discount is not applied.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034735 closedjorge-garcia incremental refresh is stopped if one masterdata query is very slow 
related to defect 0034084 newRetail Pending test to be developed 

-  Notes
(0092091)
egoitz (manager)
2016-12-05 14:08

If the incremental refresh does not finish, you should be able to continue working.

The incremental could not finish because locks/problems on the database.
(0092153)
hgbot (developer)
2016-12-06 21:22

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9d8030870f6cd8d86820a2004b49d2333bd190ea
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 06 19:35:57 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9d8030870f6cd8d86820a2004b49d2333bd190ea [^]

Fixed issue 34665. Incremental masterdata refresh will no longer be triggered without giving feedback to the user first.
From now on, whenever it's time to launch incremental refresh, an alert will be shown. The process will be automatically started without any user action, unless the user cancels it (he has 3 seconds to cancel it). Once it is launched, it cannot be canceled, and the user needs to wait for it to finish before work can continue, to prevent problems of data inconsistency.

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0092154)
hgbot (developer)
2016-12-06 21:22

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4b9f3131a589e2a296ad03b5971506dbc2d8def6
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Dec 06 19:30:33 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4b9f3131a589e2a296ad03b5971506dbc2d8def6 [^]

Fixed issue 34665. Now incremental refresh will happen before navigation to main window occurs.
Additionally, a trigger is now launched when incremental loading has finished. This allows applications to react to this.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---

- Issue History
Date Modified Username Field Change
2016-12-01 12:01 egoitz New Issue
2016-12-01 12:01 egoitz Assigned To => Retail
2016-12-01 12:01 egoitz Resolution time => 1481497200
2016-12-01 12:01 egoitz Triggers an Emergency Pack => No
2016-12-05 14:08 egoitz Note Added: 0092091
2016-12-06 09:24 marvintm Status new => scheduled
2016-12-06 09:24 marvintm Assigned To Retail => marvintm
2016-12-06 21:22 hgbot Checkin
2016-12-06 21:22 hgbot Note Added: 0092153
2016-12-06 21:22 hgbot Status scheduled => resolved
2016-12-06 21:22 hgbot Resolution open => fixed
2016-12-06 21:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9d8030870f6cd8d86820a2004b49d2333bd190ea [^]
2016-12-06 21:22 hgbot Checkin
2016-12-06 21:22 hgbot Note Added: 0092154
2016-12-06 21:22 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9d8030870f6cd8d86820a2004b49d2333bd190ea [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4b9f3131a589e2a296ad03b5971506dbc2d8def6 [^]
2016-12-07 17:36 guilleaer Review Assigned To => guilleaer
2016-12-07 17:36 guilleaer Status resolved => closed
2016-12-07 17:36 guilleaer Fixed in Version => RR17Q1
2016-12-14 17:45 malsasua Relationship added related to 0034735
2016-12-22 10:55 marvintm Relationship added related to 0034084


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker