Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036355Retail ModulesWeb POSpublic2017-06-27 09:492017-06-27 11:46
guilleaer 
Retail 
normalminoralways
newopen 
5
 
 
No
0036355: renderContainerWindow function assumes that "Loading component" is being shown when it is executed
renderContainerWindow assumes that "Loading component" is being shown when it is executed. If loading component is not being shown, then the window is not rendered.

Probably we should find a more complex way to decide if main window is shown or not
- Open developer tools
- Add a breakpoint here
    renderContainerWindow: function() {
BreakPoint-> if (!OB.MobileApp.view.$.containerWindow.showing) {
            OB.MobileApp.view.$.containerWindow.render();
            OB.UTIL.showLoading(false);
            OB.MobileApp.view.$.containerWindow.resized();
        }
    },
- Login
- When the execution is stopped by the breakpoint
 -> Open developer tools console
 -> Execute - OB.UTIL.showLoading(false); -
- Continue the execution

As you can see, main window is not shown.
find a more complex way to decide if main window is shown or not
No tags attached.
Issue History
2017-06-27 09:49guilleaerNew Issue
2017-06-27 09:49guilleaerAssigned To => Retail
2017-06-27 09:49guilleaerTriggers an Emergency Pack => No
2017-06-27 09:49guilleaerSummaryrenderContainerWindow assumes that "Loading component" is being shown when it is executed => renderContainerWindow function assumes that "Loading component" is being shown when it is executed
2017-06-27 11:46egoitzIssue Monitored: egoitz

There are no notes attached to this issue.