Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016653Openbravo ERPA. Platformpublic2011-04-05 17:242011-08-02 11:54
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP2 
Core
No
0016653: Show loading bar when opening a view
When opening a view a tab should be opened directly and a loading bar should be displayed inside the opened tab. Partial implementation has been done, see the attached diff.
No tags attached.
related to defect 00180303.0MP2 closed mtaal When using a modal popup a new tab with the loading bar is shown 
Issue History
2011-04-05 17:24mtaalNew Issue
2011-04-05 17:24mtaalAssigned To => mtaal
2011-04-05 17:24mtaalModules => Core
2011-04-11 10:08alostaleStatusnew => scheduled
2011-04-11 10:08alostalefix_in_branch => pi
2011-05-05 19:10dmitry_mezentsevNote Added: 0036439
2011-05-05 19:10dmitry_mezentsevTarget Version3.0RC7 => 3.0MP0
2011-05-05 19:10dmitry_mezentsevfix_in_branchpi =>
2011-05-06 15:32rgorisNote Added: 0036519
2011-05-17 10:33mtaalNote Added: 0037058
2011-05-23 13:21mtaalTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:57dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-07-18 21:38hgbotCheckin
2011-07-18 21:38hgbotNote Added: 0039199
2011-07-18 21:38hgbotStatusscheduled => resolved
2011-07-18 21:38hgbotResolutionopen => fixed
2011-07-18 21:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b32bbe1168b5e1a67d6a5a14e11d9a8497022400 [^]
2011-07-19 12:29iperdomoRelationship addedrelated to 0018030
2011-08-01 14:20hudsonbotCheckin
2011-08-01 14:20hudsonbotNote Added: 0039620
2011-08-02 11:54marvintmStatusresolved => closed

Notes
(0036439)
dmitry_mezentsev   
2011-05-05 19:10   
Does not fit RC7.
(0036519)
rgoris   
2011-05-06 15:32   
Note: works fine except for recent documents that do not show loading bar. They should.
(0037058)
mtaal   
2011-05-17 10:33   
Remark by email:

Hi Martin,

The issue is when the View definition is already loaded.
Steps to reproduce (In a production environment -no modules in
development-)

- Open a window, e.g. Sales Invoice
  * The browser doesn't have the view definition so is a loading bar is
    shown when requesting the View. This is OK.

- Close that window

- Open the same window
  * Since the View definition is already in the client's memory we
    don't request the View to the back-end. We create a new instance of
    that View. Where is a ~1.5secs of delay when the browser is
    creating a new instance of the View. Meanwhile no 'loading bar' is
    shown. This is KO.
    My idea was to first create always the tab with the loading bar and
    then the instance of the View

I just test the behaviour in live.builds
(0039199)
hgbot   
2011-07-18 21:38   
Repository: erp/devel/pi
Changeset: b32bbe1168b5e1a67d6a5a14e11d9a8497022400
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jul 18 21:37:56 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b32bbe1168b5e1a67d6a5a14e11d9a8497022400 [^]

Fixes issue 16653: Show loading bar when opening a view
A loading view is now always shown when opening an existing or new view

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
---
(0039620)
hudsonbot   
2011-08-01 14:20   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test