Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028278Retail ModulesWeb POSpublic2014-11-25 14:082015-01-21 23:57
malsasua 
marvintm 
immediatemajorsometimes
closedfixed 
20Community Appliance
 
RR15Q1 
marvintm
Production - Confirmed Stable
2014-02-24
RR14Q2
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2a17e08ad3353fe0822c0f012f43d42999b64eb0 [^]
No
0028278: variable isLoggingIn never is set to false, then, during the login, some messages are not displayed and they should be displayed
Sometimes, when the login is done, the variable isLoggingIn never is set to false
The code:
       this.models.on('ready', function() {
            if (!OB.MobileApp.model.get('loggedUsingCache')) {
                initIfInit();
                OB.MobileApp.model.set('isLoggingIn', false);
                this.trigger('ready');
            }
        }, this);

is executed before than this code:
                         if (me.get('loggedUsingCache')) {
                            me.set('loggedUsingCache', false);
                            me.renderTerminalMain();
                        }
in online:
. do login with user "demouser"
. create and close a receipt
. do logout
. do login with user "vallblanca"
. do cashup
. do logout
in offline:
. do login with user "vallblanca"
. do cashup
. do logout
in online:
. do login with user "demouser"
. error is displayed "Current user/role has no access to class org.openbravo.retail.posterminal.ProcessCashClose" is displayed and logout is done automatically
It is not possible to do login with this user
No tags attached.
related to defect 0027954 closed mario_castello [RR14Q4]Approval required while deleting receipts during logout, wrong behavior when i enter invalid password 
png error.png (123,225) 2014-11-25 16:41
https://issues.openbravo.com/file_download.php?file_id=7542&type=bug
png
Issue History
2014-11-25 14:08malsasuaNew Issue
2014-11-25 14:08malsasuaAssigned To => marvintm
2014-11-25 14:08malsasuaTriggers an Emergency Pack => No
2014-11-25 14:09hgbotCheckin
2014-11-25 14:09hgbotNote Added: 0071996
2014-11-25 14:09hgbotStatusnew => resolved
2014-11-25 14:09hgbotResolutionopen => fixed
2014-11-25 14:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a2f8315bc9d86f4017c80c00a6595799ad521502 [^]
2014-11-25 16:41malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7142#r7142
2014-11-25 16:41malsasuaFile Added: error.png
2014-11-25 16:51malsasuaRegression level => Production - Confirmed Stable
2014-11-25 16:51malsasuaRegression date => 2014-02-24
2014-11-25 16:51malsasuaRegression introduced in release => RR14Q2
2014-11-25 16:51malsasuaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2a17e08ad3353fe0822c0f012f43d42999b64eb0 [^]
2014-11-25 16:53malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7145#r7145
2014-12-01 10:03malsasuaRelationship addedrelated to 0027954
2014-12-01 11:08hgbotCheckin
2014-12-01 11:08hgbotNote Added: 0072178
2014-12-01 11:15mtaalIssue Monitored: mtaal
2014-12-09 16:31marvintmReview Assigned To => marvintm
2014-12-09 16:31marvintmStatusresolved => closed
2014-12-09 16:31marvintmFixed in Version => RR15Q1
2015-01-21 23:56hgbotCheckin
2015-01-21 23:56hgbotNote Added: 0073706
2015-01-21 23:57hgbotCheckin
2015-01-21 23:57hgbotNote Added: 0073707

Notes
(0071996)
hgbot   
2014-11-25 14:09   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a2f8315bc9d86f4017c80c00a6595799ad521502
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Tue Nov 25 14:09:28 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a2f8315bc9d86f4017c80c00a6595799ad521502 [^]

fixed issue 28278: variable isLoggingIn is set to false in postLoginActions

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0072178)
hgbot   
2014-12-01 11:08   
Repository: erp/pmods/org.openbravo.mobile.warehouse
Changeset: af23cb129092142f0d5577a5acb6ed1ebb9d587b
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Dec 01 15:37:25 2014 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.warehouse/rev/af23cb129092142f0d5577a5acb6ed1ebb9d587b [^]

related to issue 28278: Is logginn is set to false in mobile warehouse

---
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M web/org.openbravo.mobile.warehouse/source/terminal/wh-terminal.js
---
(0073706)
hgbot   
2015-01-21 23:56   
Repository: tools/automation/pi-mobile
Changeset: 7c56bccee70605667eab67f9ea51cffd53ab836f
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Jan 21 15:47:53 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7c56bccee70605667eab67f9ea51cffd53ab836f [^]

Related to issue 28278: The isLoggingIn variable will be checked every log in

---
M src-test/org/openbravo/test/mobile/common/selenium/MobileCoreTerminalHelper.java
M src-test/org/openbravo/test/mobile/common/selenium/terminals/WebPOSTerminalHelper.java
---
(0073707)
hgbot   
2015-01-21 23:57   
Repository: tools/automation/pi-mobile
Changeset: c7e9db0804385f13a670e717011e97ea05d54dce
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Jan 21 21:52:17 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c7e9db0804385f13a670e717011e97ea05d54dce [^]

Related to issue 28278: The isLoggingIn variable will be checked every log in (II)

---
M src-test/org/openbravo/test/mobile/common/selenium/MobileCoreTerminalHelper.java
---