Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027353Retail ModulesWeb POSpublic2014-08-17 01:572014-08-27 00:53
Orekaria 
Orekaria 
normalmajoralways
closedfixed 
5
 
RR14Q4RR14Q4 
No
0027353: Stabilization: The route in the initialization of the terminal model is no longer needed
Stabilization: The route in the initialization of the posterminal's terminal model is no longer needed
In the login-model.js file
Remove the following snippet:

      this.router.route("login", "login", function () {
        if (!_.isNull(me.get('context'))) {
          OB.UTIL.showLoading(true);
          me.navigate('retail.pointofsale');
        } else {
          this.terminal.renderLogin();
        }
      });

Verify that the pos is working as expected because the navigation to the login is made in initializeCommonComponents, preLoadContext method
No tags attached.
depends on defect 0027354RR14Q4 closed Orekaria Stabilization: The 'initializedCommonComponents' event is being attached after the 'initializeCommonComponents' is executed 
blocks feature request 0027329 new Retail Stabilization: Overhaul the loading process (since the url is entered until the webpos has loaded) 
blocks design defect 0027466RR14Q4 closed Orekaria Stabilization: The route (OBRoute) object should be use to redirect to the proper webpage 
Issue History
2014-08-17 01:57OrekariaNew Issue
2014-08-17 01:57OrekariaAssigned To => Orekaria
2014-08-17 01:57OrekariaTriggers an Emergency Pack => No
2014-08-17 01:58OrekariaRelationship addedblocks 0027329
2014-08-17 02:00hgbotCheckin
2014-08-17 02:00hgbotNote Added: 0069413
2014-08-17 02:01hgbotStatusnew => resolved
2014-08-17 02:01hgbotResolutionopen => fixed
2014-08-17 02:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8b1e976ee94767c22932d8938fbcabc7b20143ef [^]
2014-08-17 12:13hgbotCheckin
2014-08-17 12:13hgbotNote Added: 0069414
2014-08-17 12:13OrekariaStatusresolved => new
2014-08-17 12:13OrekariaResolutionfixed => open
2014-08-17 12:14OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6315#r6315
2014-08-17 13:56OrekariaNote Deleted: 0069414
2014-08-17 13:56OrekariaNote Deleted: 0069413
2014-08-17 14:01hgbotCheckin
2014-08-17 14:01hgbotNote Added: 0069417
2014-08-17 14:01hgbotStatusnew => resolved
2014-08-17 14:01hgbotResolutionopen => fixed
2014-08-17 14:01hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8b1e976ee94767c22932d8938fbcabc7b20143ef [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/554d6b5fb251290ac37a3d883f51ae0c84076bec [^]
2014-08-17 16:08OrekariaStatusresolved => new
2014-08-17 16:08OrekariaResolutionfixed => open
2014-08-17 16:42OrekariaSeverityminor => major
2014-08-17 16:42OrekariaDescription Updatedbug_revision_view_page.php?rev_id=6321#r6321
2014-08-17 16:42OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6322#r6322
2014-08-17 16:42OrekariaRelationship addeddepends on 0027354
2014-08-17 16:44OrekariaStatusnew => scheduled
2014-08-17 16:44Orekariafix_in_branch => pi
2014-08-17 16:44OrekariaStatusscheduled => resolved
2014-08-17 16:44OrekariaFixed in Version => RR14Q4
2014-08-17 16:44OrekariaResolutionopen => fixed
2014-08-26 02:12OrekariaRelationship addedblocks 0027466
2014-08-27 00:53mtaalNote Added: 0069775
2014-08-27 00:53mtaalStatusresolved => closed

Notes
(0069417)
hgbot   
2014-08-17 14:01   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 554d6b5fb251290ac37a3d883f51ae0c84076bec
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Sun Aug 17 13:56:55 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/554d6b5fb251290ac37a3d883f51ae0c84076bec [^]

Fixes issue 27353: removed unnecessary route logic in the terminal mode initialization
the initializeCommonComponents method controls the loading flow

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0069775)
mtaal   
2014-08-27 00:53   
Reviewed