Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029365Retail ModulesWeb POSpublic2015-03-20 22:572015-03-26 18:01
Orekaria 
Orekaria 
normalmajorsometimes
closedfixed 
5
 
RR15Q2 
migueldejuana
No
0029365: Stabilization: Prevent concurrent logins
Stabilization: Prevent concurrent logins
1)
in the login page, add the user and the password
with the mouse, click in the 'log in' button
verify that the loading process is being executed twice


2)
in the 'ob-login.js' file
find the 'loginButtonAction' method
copy the 'OB.MobileApp.model.login(u, p);' code line to simulate a double logging in
log in the WebPOS
verify that multiple errors start to populate the log

this is happening in some clients context, which is undesirable. multiple reasons could lead to this behavior. still, Core should not allow this scenario
No tags attached.
depends on backport 0029366RR15Q1.3 closed Orekaria Stabilization: Prevent concurrent logins 
depends on defect 0029371 closed Orekaria The login button is firing 2 events when mouse clicked 
has duplicate defect 0029330 closed Retail Several loading processes can be executed concurrently in the first WebPOS execution 
blocks feature request 0029377RR15Q3 closed Orekaria Stabilization: RR15Q2 related 
blocks defect 0029410 closed Orekaria Stabilization: The 'isLoggingIn' value should turn to false in an unsuccessful login 
Issue History
2015-03-20 22:57OrekariaNew Issue
2015-03-20 22:57OrekariaAssigned To => Orekaria
2015-03-20 22:57OrekariaTriggers an Emergency Pack => No
2015-03-20 23:06OrekariaSummaryStabilization: Prevent concurrent logging ins => Stabilization: Prevent concurrent logins
2015-03-20 23:06OrekariaDescription Updatedbug_revision_view_page.php?rev_id=8057#r8057
2015-03-20 23:06OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8059#r8059
2015-03-20 23:07OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8060#r8060
2015-03-20 23:09hgbotCheckin
2015-03-20 23:09hgbotNote Added: 0075839
2015-03-20 23:09hgbotStatusnew => resolved
2015-03-20 23:09hgbotResolutionopen => fixed
2015-03-20 23:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9a4b58581d345bebc426bdcf90539f68819ff6b6 [^]
2015-03-20 23:13OrekariaStatusresolved => scheduled
2015-03-20 23:33OrekariaStatusscheduled => resolved
2015-03-20 23:33OrekariaFixed in Version => RR15Q2
2015-03-23 14:54OrekariaRelationship addedblocks 0029377
2015-03-23 17:42OrekariaRelationship addeddepends on 0029371
2015-03-23 18:10OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8088#r8088
2015-03-23 18:10OrekariaDescription Updatedbug_revision_view_page.php?rev_id=8089#r8089
2015-03-23 18:11OrekariaRelationship addedhas duplicate 0029330
2015-03-25 16:30OrekariaRelationship addedblocks 0029410
2015-03-26 18:01migueldejuanaReview Assigned To => migueldejuana
2015-03-26 18:01migueldejuanaNote Added: 0076028
2015-03-26 18:01migueldejuanaStatusresolved => closed

Notes
(0075839)
hgbot   
2015-03-20 23:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9a4b58581d345bebc426bdcf90539f68819ff6b6
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Mar 20 23:09:00 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9a4b58581d345bebc426bdcf90539f68819ff6b6 [^]

Fixes issue 29365: Prevent the login process from being executed when it is already in progress

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0076028)
migueldejuana   
2015-03-26 18:01   
Tested and reviewed in 9a4b58581d34