Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0027156 | Retail Modules | Web POS | public | 2014-07-22 14:30 | 2014-10-03 14:39 |
Reporter | Orekaria | ||||
Assigned To | Orekaria | ||||
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0027156: The OB.Format.date is being asked before being initialized | ||||
Description | The OB.Format.date is being asked before being initialized fail: function (inSender, inResponse) { // we are likely offline. Attempt to navigate to the login page OB.I18N.labels = JSON.parse(window.localStorage.getItem('I18NLabels')); OB.Format = JSON.parse(window.localStorage.getItem('AppFormat')); me.trigger('initializedCommonComponents'); // Notifying view component that I'm rendered so login page can be // shown if needed OB.MobileApp.view.terminal.trigger('viewRendered'); OB.UTIL.showLoading(false); 3370: me.navigate('login'); } Uncaught TypeError: Cannot read property 'date' of null. Line number: 8088. File uuid: http://localhost:8080/openbravo/web/js/gen/97d951ce3ef2eed2f4609a4e1f224373.js. [^] http://localhost:8080/openbravo/web/js/gen/97d951ce3ef2eed2f4609a4e1f224373.js:19609:1 [^] 97d951ce3ef2eed2f4609a4e1f224373.js:6694 OB.error 97d951ce3ef2eed2f4609a4e1f224373.js:6694 window.onerror 97d951ce3ef2eed2f4609a4e1f224373.js:19609 (anonymous function) backbone-0.9.2.js:1081 _.some._.any underscore-1.3.3.js:193 _.extend.loadUrl backbone-0.9.2.js:1079 _.extend.navigate backbone-0.9.2.js:1124 _.extend.navigate backbone-0.9.2.js:909 OB.Model.Terminal.Backbone.Model.extend.navigate 97d951ce3ef2eed2f4609a4e1f224373.js:3014 enyo.Ajax.fail 97d951ce3ef2eed2f4609a4e1f224373.js:3370 enyo.kind.timeoutComplete | ||||
Steps To Reproduce | In ob-terminal-model.js, force the offline logic as e.g: in the initializeComponents, in the line 631 (rev. 717) change 'success' for 'fail' ajaxRequest.go(ajaxRequest.data).response('fail').error('fail'); | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | loadIssue_VI.png (171,709) 2014-07-22 14:30 https://issues.openbravo.com/file_download.php?file_id=7074&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-07-22 14:30 | Orekaria | New Issue | |||
2014-07-22 14:30 | Orekaria | Assigned To | => marvintm | ||
2014-07-22 14:30 | Orekaria | File Added: loadIssue_VI.png | |||
2014-07-22 14:30 | Orekaria | Triggers an Emergency Pack | => No | ||
2014-07-22 14:35 | Orekaria | Description Updated | bug_revision_view_page.php?rev_id=6113#r6113 | ||
2014-07-23 10:33 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6128#r6128 | ||
2014-07-23 10:34 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=6129#r6129 | ||
2014-07-23 10:59 | hgbot | Checkin | |||
2014-07-23 10:59 | hgbot | Note Added: 0068832 | |||
2014-07-23 10:59 | hgbot | Status | new => resolved | ||
2014-07-23 10:59 | hgbot | Resolution | open => fixed | ||
2014-07-23 10:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b1fe923e55a0520f3d6b690dcefc0180c4517298 [^] | ||
2014-08-01 17:28 | marvintm | Review Assigned To | => marvintm | ||
2014-08-01 17:28 | marvintm | Status | resolved => closed | ||
2014-10-03 14:39 | shuehner | Assigned To | marvintm => Orekaria |
Notes | |||||
|
|||||
|
|