Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027156 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | sometimes | 2014-07-22 14:30 | 2014-10-03 14:39 | |||
Reporter | Orekaria | View Status | public | |||||
Assigned To | Orekaria | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | b1fe923e55a0 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
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'); | |||||||
Tags | No tags attached. | |||||||
Attached Files | loadIssue_VI.png [^] (171,709 bytes) 2014-07-22 14:30
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0068832) hgbot (developer) 2014-07-23 10:59 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: b1fe923e55a0520f3d6b690dcefc0180c4517298 Author: Rafa Alonso <rafael.alonso <at> openbravo.com> Date: Wed Jul 23 10:59:16 2014 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b1fe923e55a0520f3d6b690dcefc0180c4517298 [^] Fixes issue 27156: OB.I18N.formatDate does not generate an error when it... cannot process format a date; and an error message is shown in the console. --- M web/org.openbravo.mobile.core/source/utils/ob-i18n.js --- |
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 | View Revisions |
2014-07-23 10:33 | Orekaria | Steps to Reproduce Updated | View Revisions |
2014-07-23 10:34 | Orekaria | Steps to Reproduce Updated | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |