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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022331
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POScriticalhave not tried2012-11-16 13:442012-11-27 12:35
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision91fd15bea60d
ProjectionnoneETAnoneTarget VersionRMP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022331: The Web POS is either not recovering the session correctly after going offline, or closing sessions prematurely

DescriptionIt seems the Web POS is either not recovering an active session when it momentarily loses connectivity, or closing sessions prematurely.

In either case, it asks the user to reenter his credentials with too much frequency, even in cases in which the network is relatively stable.
Steps To Reproduce- Work on a network which sometimes is briefly lost
- Realize that the message to "reenter your credentials" is shown, and is probably unneeded, because afterwards most of the times the login page is not shown, but the application logs in automatically.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054297)
hgbot (developer)
2012-11-16 15:55

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 896912619153450f53a0cdfa4817bfeba27f85d5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Nov 16 15:55:43 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/896912619153450f53a0cdfa4817bfeba27f85d5 [^]

Fixed issue 22331. Now the user will not be warned that the connection came back unless the session was really lost

---
M web/org.openbravo.retail.posterminal/js/components/terminal.js
---
(0054298)
hgbot (developer)
2012-11-16 16:59

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fcc4f0a1df2dfdb030b9c27726756911e41a3ce5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Nov 16 16:59:05 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fcc4f0a1df2dfdb030b9c27726756911e41a3ce5 [^]

Related to issue 22331. Orders will be automatically saved if the connection returns.

---
M web/org.openbravo.retail.posterminal/js/components/terminal.js
---
(0054300)
dbaz (developer)
2012-11-18 04:52

The fix is not good.

Having a fix with several concatenated "child" structure is a way to guarantee that if the final component (or any in the middle) is moved (from a container to another one), the action is not going to be performed.

There are several possibilities to ensure that always is going to work:

If the component is a direct child of the component, give the last child a "name" (in case it doesn't have already one), and do something like
OB.POS.terminal.$.<given-name>.model.processChangedCustomers();

If it is not a direct child, you can define an event listener in the last child and then from OB.POS.terminal set a "waterfall". The WebPOS is plenty of them, so you can check how are they made. Also you can consult here to obtain more information about how it works:
http://enyojs.com/docs/events.html [^]
(0054351)
hgbot (developer)
2012-11-20 18:15

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 91fd15bea60d17e2613f7ec8046a4ff2c457d48a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 20 18:15:41 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/91fd15bea60d17e2613f7ec8046a4ff2c457d48a [^]

Fixed issue 22331. Orders will be automatically saved if the connection returns.

---
M web/org.openbravo.retail.posterminal/js/components/terminal.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/utilities.js
---
(0054525)
hgbot (developer)
2012-11-27 11:29

Repository: erp/pmods/org.openbravo.retail.posterminal-linediscount-discount
Changeset: 91fd15bea60d17e2613f7ec8046a4ff2c457d48a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 20 18:15:41 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-linediscount-discount/rev/91fd15bea60d17e2613f7ec8046a4ff2c457d48a [^]

Fixed issue 22331. Orders will be automatically saved if the connection returns.

---
M web/org.openbravo.retail.posterminal/js/components/terminal.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/utilities.js
---
(0054539)
migueldejuana (developer)
2012-11-27 12:35

Reviewed at @cde372d8864d

- Issue History
Date Modified Username Field Change
2012-11-16 13:44 marvintm New Issue
2012-11-16 13:44 marvintm Assigned To => marvintm
2012-11-16 15:55 hgbot Checkin
2012-11-16 15:55 hgbot Note Added: 0054297
2012-11-16 15:55 hgbot Status new => resolved
2012-11-16 15:55 hgbot Resolution open => fixed
2012-11-16 15:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/896912619153450f53a0cdfa4817bfeba27f85d5 [^]
2012-11-16 16:59 hgbot Checkin
2012-11-16 16:59 hgbot Note Added: 0054298
2012-11-18 04:52 dbaz Note Added: 0054300
2012-11-18 04:52 dbaz Status resolved => new
2012-11-18 04:52 dbaz Resolution fixed => open
2012-11-20 18:15 hgbot Checkin
2012-11-20 18:15 hgbot Note Added: 0054351
2012-11-20 18:15 hgbot Status new => resolved
2012-11-20 18:15 hgbot Resolution open => fixed
2012-11-20 18:15 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/896912619153450f53a0cdfa4817bfeba27f85d5 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/91fd15bea60d17e2613f7ec8046a4ff2c457d48a [^]
2012-11-27 10:19 adrianromero Target Version => RMP17
2012-11-27 11:29 hgbot Checkin
2012-11-27 11:29 hgbot Note Added: 0054525
2012-11-27 11:29 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/91fd15bea60d17e2613f7ec8046a4ff2c457d48a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-linediscount-discount/rev/91fd15bea60d17e2613f7ec8046a4ff2c457d48a [^]
2012-11-27 12:35 migueldejuana Note Added: 0054539
2012-11-27 12:35 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker