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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034024
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServerminorhave not tried2016-09-19 23:392016-10-10 15:37
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision9db4c8b862db
ProjectionnoneETAnoneTarget VersionRR16Q4
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

0034024: Remote BP data: bp of current order of orderlist not updated when changing BP

DescriptionIn case of remote BP when changing the BP the user interface is refreshed but the current order of the orderlist (OB.MobileApp.model.orderList.current) is not updated on time from OB.MobileApp.model.orderList.modelorder.

This is caused by async behavior. The copy of modelorder to current ([1]) happens before the bp has been changed ([2]).

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/200182f3db29/web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js#l579 [^]

[2]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/200182f3db29/web/org.openbravo.retail.posterminal/js/model/order.js#l2238 [^]
Steps To ReproduceSet remote BP setting
Login into webpos
change the BP in webpos, put breakpoints in the code
check the values of the current/modelorder of the orderlist and their BP
Proposed Solutioncopy the modelorder to current when the save on the server has happened
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0034025RR16Q3.3 closedmtaal Remote BP data: bp of current order of orderlist not updated when changing BP 

-  Notes
(0090090)
hgbot (developer)
2016-09-19 23:45

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9db4c8b862dbe4eff6ccc1166f1ffac61f38bce6
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Sep 19 23:44:56 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9db4c8b862dbe4eff6ccc1166f1ffac61f38bce6 [^]

Fixes issue 34024: Remote BP data: bp of current order of orderlist not updated when changing BP
Copy modelorder to current after the save on the server has happened

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0090517)
migueldejuana (developer)
2016-10-10 15:37

Tested and reviewed in f098a245fb14

- Issue History
Date Modified Username Field Change
2016-09-19 23:39 mtaal New Issue
2016-09-19 23:39 mtaal Assigned To => mtaal
2016-09-19 23:39 mtaal Triggers an Emergency Pack => No
2016-09-19 23:39 mtaal Status new => scheduled
2016-09-19 23:45 hgbot Checkin
2016-09-19 23:45 hgbot Note Added: 0090090
2016-09-19 23:45 hgbot Status scheduled => resolved
2016-09-19 23:45 hgbot Resolution open => fixed
2016-09-19 23:45 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9db4c8b862dbe4eff6ccc1166f1ffac61f38bce6 [^]
2016-09-25 11:54 mtaal Assigned To mtaal => migueldejuana
2016-09-25 11:54 mtaal Assigned To migueldejuana => mtaal
2016-09-25 11:54 mtaal Review Assigned To => migueldejuana
2016-10-10 15:37 migueldejuana Note Added: 0090517
2016-10-10 15:37 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker