Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0027662 | Retail Modules | Web POS | public | 2014-09-23 15:25 | 2015-09-15 17:49 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR15Q4 | Fixed in Version | RR15Q4 | ||
Merge Request Status | |||||
Review Assigned To | migueldejuana | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0027662: Remote request to org.openbravo.mobile.core.login.Context to check login status causes a record to be created in ad_session tabl | ||||
Description | The code below in the ob-terminal-model.js file checks if the user is logged in. This call results in an extra record in the ad_session table. This should not happen, no record should be created in that table for this. me.trigger('initializedCommonComponents'); me.preLoadContext(function () { new OB.DS.Request('org.openbravo.mobile.core.login.Context').exec({ ignoreForConnectionStatus: true }, function (inResponse) { OB.MobileApp.model.triggerOnLine(); if (inResponse && !inResponse.exception) { OB.MobileApp.model.user = inResponse[0].user.username; if (me.isUserCacheAvailable() && window.localStorage.getItem('cacheAvailableForUser:' + OB.MobileApp.model.user)) { me.loginUsingCache(); } else { OB.MobileApp.model.set('orgUserId', inResponse[0].user.id); OB.UTIL.showLoading(true); me.set('context', inResponse[0]); me.renderTerminalMain(); } } else { | ||||
Steps To Reproduce | - check count in ad_session table - open webpos page, login page is shown - check that the count in the session table has increased by one | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=8438&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-09-23 15:25 | mtaal | New Issue | |||
2014-09-23 15:25 | mtaal | Assigned To | => mtaal | ||
2014-09-23 15:25 | mtaal | OBNetwork customer | => No | ||
2014-09-23 15:25 | mtaal | Triggers an Emergency Pack | => No | ||
2014-09-30 17:42 | mtaal | Target Version | => RR15Q1 | ||
2014-12-01 16:12 | shuehner | Issue Monitored: shuehner | |||
2014-12-08 11:51 | mtaal | Target Version | RR15Q1 => RR15Q2 | ||
2015-03-30 20:14 | marvintm | Target Version | RR15Q2 => RR15Q3 | ||
2015-06-15 18:16 | marvintm | Target Version | RR15Q3 => RR15Q4 | ||
2015-09-09 10:22 | mtaal | File Added: Selection_007.png | |||
2015-09-09 10:23 | mtaal | Note Added: 0080271 | |||
2015-09-09 10:39 | mtaal | Note Added: 0080272 | |||
2015-09-10 09:09 | hgbot | Checkin | |||
2015-09-10 09:09 | hgbot | Note Added: 0080305 | |||
2015-09-10 09:09 | hgbot | Status | new => resolved | ||
2015-09-10 09:09 | hgbot | Resolution | open => fixed | ||
2015-09-10 09:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a7fad012414bc6b03a8b8800f27582d824d1d092 [^] | ||
2015-09-15 14:00 | mtaal | Review Assigned To | => migueldejuana | ||
2015-09-15 17:49 | migueldejuana | Note Added: 0080422 | |||
2015-09-15 17:49 | migueldejuana | Status | resolved => closed | ||
2015-09-15 17:49 | migueldejuana | Fixed in Version | => RR15Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|||||
|
|||||
|
|
||||
|
|||||
|
|